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