|
1 | 1 | # This configuration was generated by |
2 | 2 | # `rubocop --auto-gen-config --no-auto-gen-timestamp` |
3 | | -# using RuboCop version 1.75.8. |
| 3 | +# using RuboCop version 1.79.2. |
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 |
@@ -39,7 +39,7 @@ Layout/HeredocIndentation: |
39 | 39 |
|
40 | 40 | # Offense count: 4 |
41 | 41 | # This cop supports safe autocorrection (--autocorrect). |
42 | | -# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings. |
| 42 | +# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings. |
43 | 43 | # URISchemes: http, https |
44 | 44 | Layout/LineLength: |
45 | 45 | Exclude: |
@@ -93,29 +93,11 @@ Lint/NonAtomicFileOperation: |
93 | 93 | Exclude: |
94 | 94 | - 'lib/packaging/ship/artifactory.rb' |
95 | 95 |
|
96 | | -# Offense count: 10 |
| 96 | +# Offense count: 1 |
97 | 97 | # This cop supports safe autocorrection (--autocorrect). |
98 | 98 | Lint/RedundantCopDisableDirective: |
99 | 99 | Exclude: |
100 | | - - 'lib/packaging/paths.rb' |
101 | | - - 'lib/packaging/util/net.rb' |
102 | | - - 'lib/packaging/util/ship.rb' |
103 | 100 | - 'lib/packaging/util/version.rb' |
104 | | - - 'spec/lib/packaging/util/git_spec.rb' |
105 | | - - 'spec/lib/packaging/util/version_spec.rb' |
106 | | - |
107 | | -# Offense count: 6 |
108 | | -# This cop supports safe autocorrection (--autocorrect). |
109 | | -Lint/RedundantStringCoercion: |
110 | | - Exclude: |
111 | | - - 'lib/packaging/util/rake_utils.rb' |
112 | | - - 'spec/lib/packaging/config_spec.rb' |
113 | | - |
114 | | -# Offense count: 2 |
115 | | -Lint/ShadowingOuterLocalVariable: |
116 | | - Exclude: |
117 | | - - 'tasks/jenkins_dynamic.rake' |
118 | | - - 'tasks/pe_ship.rake' |
119 | 101 |
|
120 | 102 | # Offense count: 1 |
121 | 103 | # Configuration parameters: AllowComments, AllowNil. |
@@ -236,13 +218,22 @@ Naming/MethodParameterName: |
236 | 218 | - 'lib/packaging/util/ship.rb' |
237 | 219 | - 'tasks/vendor_gems.rake' |
238 | 220 |
|
| 221 | +# Offense count: 3 |
| 222 | +# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates. |
| 223 | +# AllowedMethods: call |
| 224 | +# WaywardPredicates: nonzero? |
| 225 | +Naming/PredicateMethod: |
| 226 | + Exclude: |
| 227 | + - 'lib/packaging/util.rb' |
| 228 | + - 'lib/packaging/util/misc.rb' |
| 229 | + |
239 | 230 | # Offense count: 6 |
240 | 231 | # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros, UseSorbetSigs. |
241 | 232 | # NamePrefix: is_, has_, have_, does_ |
242 | 233 | # ForbiddenPrefixes: is_, has_, have_, does_ |
243 | 234 | # AllowedMethods: is_a? |
244 | 235 | # MethodDefinitionMacros: define_method, define_singleton_method |
245 | | -Naming/PredicateName: |
| 236 | +Naming/PredicatePrefix: |
246 | 237 | Exclude: |
247 | 238 | - 'spec/**/*' |
248 | 239 | - 'lib/packaging/sign/rpm.rb' |
@@ -456,10 +447,6 @@ RSpec/MatchArray: |
456 | 447 | RSpec/MessageSpies: |
457 | 448 | EnforcedStyle: receive |
458 | 449 |
|
459 | | -# Offense count: 46 |
460 | | -RSpec/MultipleExpectations: |
461 | | - Max: 7 |
462 | | - |
463 | 450 | # Offense count: 42 |
464 | 451 | # Configuration parameters: AllowSubject. |
465 | 452 | RSpec/MultipleMemoizedHelpers: |
@@ -810,7 +797,7 @@ Style/EvalWithLocation: |
810 | 797 |
|
811 | 798 | # Offense count: 47 |
812 | 799 | # This cop supports safe autocorrection (--autocorrect). |
813 | | -# Configuration parameters: AllowedVars. |
| 800 | +# Configuration parameters: AllowedVars, DefaultToNil. |
814 | 801 | Style/FetchEnvVar: |
815 | 802 | Enabled: false |
816 | 803 |
|
|
0 commit comments