|
1 | 1 | # This configuration was generated by
|
2 | 2 | # `rubocop --auto-gen-config`
|
3 |
| -# on 2023-04-18 09:21:48 UTC using RuboCop version 1.50.2. |
| 3 | +# on 2024-06-28 10:43:00 UTC using RuboCop version 1.63.5. |
4 | 4 | # The point is for the user to remove these configuration records
|
5 | 5 | # one by one as the offenses are removed from the code base.
|
6 | 6 | # Note that changes in the inspected code, or installation of new
|
7 | 7 | # versions of RuboCop, may require this file to be generated again.
|
8 | 8 |
|
9 |
| -# Offense count: 1 |
10 |
| -# This cop supports safe autocorrection (--autocorrect). |
| 9 | +# Offense count: 4 |
11 | 10 | # Configuration parameters: Severity, Include.
|
12 |
| -# Include: **/*.gemspec |
13 |
| -Gemspec/RequireMFA: |
| 11 | +# Include: **/*.gemfile, **/Gemfile, **/gems.rb |
| 12 | +Bundler/DuplicatedGem: |
14 | 13 | Exclude:
|
15 |
| - - 'puppet-modulebuilder.gemspec' |
| 14 | + - 'spec/fixtures/module/Gemfile' |
16 | 15 |
|
17 |
| -# Offense count: 1 |
18 |
| -# Configuration parameters: Severity, Include. |
19 |
| -# Include: **/*.gemspec |
20 |
| -Gemspec/RequiredRubyVersion: |
| 16 | +# Offense count: 5 |
| 17 | +# This cop supports safe autocorrection (--autocorrect). |
| 18 | +# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. |
| 19 | +# Include: **/*.gemfile, **/Gemfile, **/gems.rb |
| 20 | +Bundler/OrderedGems: |
21 | 21 | Exclude:
|
22 |
| - - 'puppet-modulebuilder.gemspec' |
| 22 | + - 'spec/fixtures/module/Gemfile' |
23 | 23 |
|
24 | 24 | # Offense count: 5
|
25 |
| -# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. |
26 |
| -Metrics/AbcSize: |
27 |
| - Max: 31 |
| 25 | +# This cop supports safe autocorrection (--autocorrect). |
| 26 | +Layout/EmptyLineAfterGuardClause: |
| 27 | + Exclude: |
| 28 | + - 'spec/fixtures/module/Rakefile' |
| 29 | + |
| 30 | +# Offense count: 3 |
| 31 | +# This cop supports safe autocorrection (--autocorrect). |
| 32 | +Layout/EmptyLines: |
| 33 | + Exclude: |
| 34 | + - 'Gemfile' |
| 35 | + - 'Rakefile' |
| 36 | + - 'spec/fixtures/module/Rakefile' |
| 37 | + |
| 38 | +# Offense count: 1 |
| 39 | +# This cop supports safe autocorrection (--autocorrect). |
| 40 | +Layout/HeredocIndentation: |
| 41 | + Exclude: |
| 42 | + - 'spec/fixtures/module/Rakefile' |
28 | 43 |
|
29 | 44 | # Offense count: 1
|
30 |
| -# Configuration parameters: CountComments, CountAsOne. |
31 |
| -Metrics/ClassLength: |
| 45 | +# This cop supports safe autocorrection (--autocorrect). |
| 46 | +# Configuration parameters: Width, AllowedPatterns. |
| 47 | +Layout/IndentationWidth: |
| 48 | + Exclude: |
| 49 | + - 'Rakefile' |
| 50 | + |
| 51 | +# Offense count: 2 |
| 52 | +# This cop supports safe autocorrection (--autocorrect). |
| 53 | +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. |
| 54 | +# URISchemes: http, https |
| 55 | +Layout/LineLength: |
32 | 56 | Max: 255
|
33 | 57 |
|
34 |
| -# Offense count: 6 |
35 |
| -# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
36 |
| -Metrics/MethodLength: |
37 |
| - Max: 25 |
| 58 | +# Offense count: 1 |
| 59 | +# This cop supports safe autocorrection (--autocorrect). |
| 60 | +# Configuration parameters: EnforcedStyle. |
| 61 | +# SupportedStyles: final_newline, final_blank_line |
| 62 | +Layout/TrailingEmptyLines: |
| 63 | + Exclude: |
| 64 | + - 'spec/fixtures/module/Rakefile' |
| 65 | + |
| 66 | +# Offense count: 2 |
| 67 | +Lint/MixedRegexpCaptureTypes: |
| 68 | + Exclude: |
| 69 | + - 'Gemfile' |
| 70 | + - 'spec/fixtures/module/Gemfile' |
38 | 71 |
|
39 | 72 | # Offense count: 1
|
40 |
| -# Configuration parameters: MinSize. |
41 |
| -Performance/CollectionLiteralInLoop: |
| 73 | +# Configuration parameters: ForbiddenDelimiters. |
| 74 | +# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$)) |
| 75 | +Naming/HeredocDelimiterNaming: |
42 | 76 | Exclude:
|
43 |
| - - 'spec/acceptance/puppet/modulebuilder/builder_spec.rb' |
| 77 | + - 'spec/fixtures/module/Rakefile' |
| 78 | + |
| 79 | +# Offense count: 13 |
| 80 | +# Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns. |
| 81 | +# SupportedStyles: snake_case, camelCase |
| 82 | +Naming/VariableName: |
| 83 | + Exclude: |
| 84 | + - 'spec/fixtures/module/Rakefile' |
| 85 | + |
| 86 | +# Offense count: 1 |
| 87 | +# This cop supports safe autocorrection (--autocorrect). |
| 88 | +Performance/StringIdentifierArgument: |
| 89 | + Exclude: |
| 90 | + - 'spec/fixtures/module/Rakefile' |
44 | 91 |
|
45 | 92 | # Offense count: 4
|
46 | 93 | # Configuration parameters: Prefixes, AllowedPatterns.
|
@@ -82,14 +129,131 @@ RSpec/NamedSubject:
|
82 | 129 | RSpec/NestedGroups:
|
83 | 130 | Max: 5
|
84 | 131 |
|
85 |
| -# Offense count: 33 |
| 132 | +# Offense count: 32 |
86 | 133 | RSpec/SubjectStub:
|
87 | 134 | Exclude:
|
88 | 135 | - 'spec/unit/puppet/modulebuilder/builder_spec.rb'
|
89 | 136 |
|
90 |
| -# Offense count: 9 |
| 137 | +# Offense count: 1 |
| 138 | +Security/Eval: |
| 139 | + Exclude: |
| 140 | + - 'spec/fixtures/module/Gemfile' |
| 141 | + |
| 142 | +# Offense count: 3 |
| 143 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 144 | +Security/JSONLoad: |
| 145 | + Exclude: |
| 146 | + - 'spec/fixtures/module/Rakefile' |
| 147 | + |
| 148 | +# Offense count: 1 |
| 149 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 150 | +# Configuration parameters: EnforcedStyle. |
| 151 | +# SupportedStyles: always, conditionals |
| 152 | +Style/AndOr: |
| 153 | + Exclude: |
| 154 | + - 'spec/fixtures/module/Rakefile' |
| 155 | + |
| 156 | +# Offense count: 4 |
| 157 | +# This cop supports safe autocorrection (--autocorrect). |
| 158 | +# Configuration parameters: AllowedVars. |
| 159 | +Style/FetchEnvVar: |
| 160 | + Exclude: |
| 161 | + - 'Gemfile' |
| 162 | + - 'spec/fixtures/module/Gemfile' |
| 163 | + |
| 164 | +# Offense count: 1 |
| 165 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 166 | +# Configuration parameters: EnforcedStyle. |
| 167 | +# SupportedStyles: always, always_true, never |
| 168 | +Style/FrozenStringLiteralComment: |
| 169 | + Exclude: |
| 170 | + - 'spec/fixtures/module/Gemfile' |
| 171 | + |
| 172 | +# Offense count: 1 |
| 173 | +# This cop supports safe autocorrection (--autocorrect). |
| 174 | +# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. |
| 175 | +# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys |
| 176 | +# SupportedShorthandSyntax: always, never, either, consistent |
| 177 | +Style/HashSyntax: |
| 178 | + Exclude: |
| 179 | + - 'Gemfile' |
| 180 | + |
| 181 | +# Offense count: 2 |
| 182 | +# This cop supports safe autocorrection (--autocorrect). |
| 183 | +Style/IfUnlessModifier: |
| 184 | + Exclude: |
| 185 | + - 'spec/fixtures/module/Gemfile' |
| 186 | + - 'spec/fixtures/module/Rakefile' |
| 187 | + |
| 188 | +# Offense count: 3 |
| 189 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 190 | +Style/RedundantInterpolation: |
| 191 | + Exclude: |
| 192 | + - 'spec/fixtures/module/Rakefile' |
| 193 | + |
| 194 | +# Offense count: 5 |
| 195 | +# This cop supports safe autocorrection (--autocorrect). |
| 196 | +Style/RedundantRegexpEscape: |
| 197 | + Exclude: |
| 198 | + - 'Gemfile' |
| 199 | + - 'spec/fixtures/module/Gemfile' |
| 200 | + - 'spec/fixtures/module/Rakefile' |
| 201 | + |
| 202 | +# Offense count: 1 |
| 203 | +# This cop supports safe autocorrection (--autocorrect). |
| 204 | +# Configuration parameters: EnforcedStyle, AllowInnerSlashes. |
| 205 | +# SupportedStyles: slashes, percent_r, mixed |
| 206 | +Style/RegexpLiteral: |
| 207 | + Exclude: |
| 208 | + - 'Gemfile' |
| 209 | + |
| 210 | +# Offense count: 1 |
| 211 | +# This cop supports unsafe autocorrection (--autocorrect-all). |
| 212 | +# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength. |
| 213 | +# AllowedMethods: present?, blank?, presence, try, try! |
| 214 | +Style/SafeNavigation: |
| 215 | + Exclude: |
| 216 | + - 'spec/fixtures/module/Rakefile' |
| 217 | + |
| 218 | +# Offense count: 49 |
| 219 | +# This cop supports safe autocorrection (--autocorrect). |
| 220 | +# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. |
| 221 | +# SupportedStyles: single_quotes, double_quotes |
| 222 | +Style/StringLiterals: |
| 223 | + Exclude: |
| 224 | + - 'spec/fixtures/module/Gemfile' |
| 225 | + - 'spec/fixtures/module/Rakefile' |
| 226 | + |
| 227 | +# Offense count: 1 |
| 228 | +# This cop supports safe autocorrection (--autocorrect). |
| 229 | +# Configuration parameters: MinSize. |
| 230 | +# SupportedStyles: percent, brackets |
| 231 | +Style/SymbolArray: |
| 232 | + EnforcedStyle: brackets |
| 233 | + |
| 234 | +# Offense count: 7 |
| 235 | +# This cop supports safe autocorrection (--autocorrect). |
| 236 | +# Configuration parameters: EnforcedStyleForMultiline. |
| 237 | +# SupportedStylesForMultiline: comma, consistent_comma, no_comma |
| 238 | +Style/TrailingCommaInArrayLiteral: |
| 239 | + Exclude: |
| 240 | + - 'lib/puppet/modulebuilder/builder.rb' |
| 241 | + - 'spec/spec_helper.rb' |
| 242 | + - 'spec/unit/puppet/modulebuilder/builder_spec.rb' |
| 243 | + |
| 244 | +# Offense count: 7 |
| 245 | +# This cop supports safe autocorrection (--autocorrect). |
| 246 | +# Configuration parameters: EnforcedStyleForMultiline. |
| 247 | +# SupportedStylesForMultiline: comma, consistent_comma, no_comma |
| 248 | +Style/TrailingCommaInHashLiteral: |
| 249 | + Exclude: |
| 250 | + - 'lib/puppet/modulebuilder/builder.rb' |
| 251 | + - 'spec/fixtures/module/Rakefile' |
| 252 | + - 'spec/unit/puppet/modulebuilder/builder_spec.rb' |
| 253 | + |
| 254 | +# Offense count: 11 |
91 | 255 | # This cop supports safe autocorrection (--autocorrect).
|
92 | 256 | # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
93 | 257 | # URISchemes: http, https
|
94 | 258 | Layout/LineLength:
|
95 |
| - Max: 188 |
| 259 | + Max: 255 |
0 commit comments