|
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 11:45:55 UTC using RuboCop version 1.64.1. |
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 |
| 9 | +# Offense count: 2 |
10 | 10 | # This cop supports safe autocorrection (--autocorrect). |
11 | | -# Configuration parameters: Severity, Include. |
12 | | -# Include: **/*.gemspec |
13 | | -Gemspec/RequireMFA: |
| 11 | +Layout/EmptyLines: |
14 | 12 | Exclude: |
15 | | - - 'puppet-modulebuilder.gemspec' |
| 13 | + - 'Gemfile' |
| 14 | + - 'Rakefile' |
16 | 15 |
|
17 | 16 | # Offense count: 1 |
18 | | -# Configuration parameters: Severity, Include. |
19 | | -# Include: **/*.gemspec |
20 | | -Gemspec/RequiredRubyVersion: |
| 17 | +# This cop supports safe autocorrection (--autocorrect). |
| 18 | +# Configuration parameters: Width, AllowedPatterns. |
| 19 | +Layout/IndentationWidth: |
21 | 20 | Exclude: |
22 | | - - 'puppet-modulebuilder.gemspec' |
23 | | - |
24 | | -# Offense count: 5 |
25 | | -# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. |
26 | | -Metrics/AbcSize: |
27 | | - Max: 31 |
28 | | - |
29 | | -# Offense count: 1 |
30 | | -# Configuration parameters: CountComments, CountAsOne. |
31 | | -Metrics/ClassLength: |
32 | | - Max: 255 |
33 | | - |
34 | | -# Offense count: 6 |
35 | | -# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. |
36 | | -Metrics/MethodLength: |
37 | | - Max: 25 |
| 21 | + - 'Rakefile' |
38 | 22 |
|
39 | 23 | # Offense count: 1 |
40 | | -# Configuration parameters: MinSize. |
41 | | -Performance/CollectionLiteralInLoop: |
| 24 | +Lint/MixedRegexpCaptureTypes: |
42 | 25 | Exclude: |
43 | | - - 'spec/acceptance/puppet/modulebuilder/builder_spec.rb' |
| 26 | + - 'Gemfile' |
44 | 27 |
|
45 | 28 | # Offense count: 4 |
46 | 29 | # Configuration parameters: Prefixes, AllowedPatterns. |
@@ -82,11 +65,67 @@ RSpec/NamedSubject: |
82 | 65 | RSpec/NestedGroups: |
83 | 66 | Max: 5 |
84 | 67 |
|
85 | | -# Offense count: 33 |
| 68 | +# Offense count: 32 |
86 | 69 | RSpec/SubjectStub: |
87 | 70 | Exclude: |
88 | 71 | - 'spec/unit/puppet/modulebuilder/builder_spec.rb' |
89 | 72 |
|
| 73 | +# Offense count: 1 |
| 74 | +# This cop supports safe autocorrection (--autocorrect). |
| 75 | +# Configuration parameters: AllowedVars. |
| 76 | +Style/FetchEnvVar: |
| 77 | + Exclude: |
| 78 | + - 'Gemfile' |
| 79 | + |
| 80 | +# Offense count: 1 |
| 81 | +# This cop supports safe autocorrection (--autocorrect). |
| 82 | +# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. |
| 83 | +# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys |
| 84 | +# SupportedShorthandSyntax: always, never, either, consistent, either_consistent |
| 85 | +Style/HashSyntax: |
| 86 | + Exclude: |
| 87 | + - 'Gemfile' |
| 88 | + |
| 89 | +# Offense count: 2 |
| 90 | +# This cop supports safe autocorrection (--autocorrect). |
| 91 | +Style/RedundantRegexpEscape: |
| 92 | + Exclude: |
| 93 | + - 'Gemfile' |
| 94 | + |
| 95 | +# Offense count: 1 |
| 96 | +# This cop supports safe autocorrection (--autocorrect). |
| 97 | +# Configuration parameters: EnforcedStyle, AllowInnerSlashes. |
| 98 | +# SupportedStyles: slashes, percent_r, mixed |
| 99 | +Style/RegexpLiteral: |
| 100 | + Exclude: |
| 101 | + - 'Gemfile' |
| 102 | + |
| 103 | +# Offense count: 1 |
| 104 | +# This cop supports safe autocorrection (--autocorrect). |
| 105 | +# Configuration parameters: MinSize. |
| 106 | +# SupportedStyles: percent, brackets |
| 107 | +Style/SymbolArray: |
| 108 | + EnforcedStyle: brackets |
| 109 | + |
| 110 | +# Offense count: 7 |
| 111 | +# This cop supports safe autocorrection (--autocorrect). |
| 112 | +# Configuration parameters: EnforcedStyleForMultiline. |
| 113 | +# SupportedStylesForMultiline: comma, consistent_comma, no_comma |
| 114 | +Style/TrailingCommaInArrayLiteral: |
| 115 | + Exclude: |
| 116 | + - 'lib/puppet/modulebuilder/builder.rb' |
| 117 | + - 'spec/spec_helper.rb' |
| 118 | + - 'spec/unit/puppet/modulebuilder/builder_spec.rb' |
| 119 | + |
| 120 | +# Offense count: 3 |
| 121 | +# This cop supports safe autocorrection (--autocorrect). |
| 122 | +# Configuration parameters: EnforcedStyleForMultiline. |
| 123 | +# SupportedStylesForMultiline: comma, consistent_comma, no_comma |
| 124 | +Style/TrailingCommaInHashLiteral: |
| 125 | + Exclude: |
| 126 | + - 'lib/puppet/modulebuilder/builder.rb' |
| 127 | + - 'spec/unit/puppet/modulebuilder/builder_spec.rb' |
| 128 | + |
90 | 129 | # Offense count: 9 |
91 | 130 | # This cop supports safe autocorrection (--autocorrect). |
92 | 131 | # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. |
|
0 commit comments