11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2018-01-11 16:42:16 -0800 using RuboCop version 0.52.1 .
3+ # on 2024-04-08 19:36:04 UTC using RuboCop version 1.63.0 .
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
9+ # Offense count: 7
10+ # Configuration parameters: EnforcedStyle, AllowedGems, Include.
11+ # SupportedStyles: Gemfile, gems.rb, gemspec
12+ # Include: **/*.gemspec, **/Gemfile, **/gems.rb
13+ Gemspec/DevelopmentDependencies :
14+ Exclude :
15+ - ' pathspec.gemspec'
16+
917# Offense count: 2
10- # Cop supports --auto-correct .
18+ # This cop supports safe autocorrection (--autocorrect) .
1119Layout/BlockEndNewline :
1220 Exclude :
1321 - ' spec/unit/pathspec_spec.rb'
1422
1523# Offense count: 6
16- # Cop supports --auto-correct.
17- # Configuration parameters: EnforcedStyle.
18- # SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
24+ # This cop supports safe autocorrection (--autocorrect).
1925Layout/HeredocIndentation :
2026 Exclude :
2127 - ' spec/unit/pathspec_spec.rb'
2228
2329# Offense count: 8
24- # Cop supports --auto-correct .
30+ # This cop supports safe autocorrection (--autocorrect) .
2531# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
2632# SupportedStyles: space, no_space
2733# SupportedStylesForEmptyBraces: space, no_space
@@ -30,102 +36,78 @@ Layout/SpaceInsideBlockBraces:
3036 - ' lib/pathspec.rb'
3137 - ' spec/unit/pathspec_spec.rb'
3238
33- # Offense count: 2
34- Lint/ImplicitStringConcatenation :
35- Exclude :
36- - ' lib/pathspec/gitignorespec.rb'
37-
3839# Offense count: 1
39- # Cop supports --auto-correct .
40- # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
40+ # This cop supports safe autocorrection (--autocorrect) .
41+ # Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods .
4142Lint/UnusedMethodArgument :
4243 Exclude :
4344 - ' lib/pathspec/spec.rb'
4445
4546# Offense count: 3
47+ # This cop supports unsafe autocorrection (--autocorrect-all).
48+ # Configuration parameters: AutoCorrect.
4649Lint/UselessAssignment :
4750 Exclude :
4851 - ' spec/unit/pathspec_spec.rb'
4952
50- # Offense count: 2
53+ # Offense count: 1
54+ # This cop supports safe autocorrection (--autocorrect).
55+ # Configuration parameters: AutoCorrect, CheckForMethodsWithNoSideEffects.
5156Lint/Void :
5257 Exclude :
5358 - ' lib/pathspec.rb'
54- - ' lib/pathspec/gitignorespec.rb'
5559
5660# Offense count: 3
61+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
5762Metrics/AbcSize :
58- Enabled : false
59- Max : 62
63+ Max : 63
6064
61- # Offense count: 7
62- # Configuration parameters: CountComments, ExcludedMethods.
65+ # Offense count: 8
66+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
67+ # AllowedMethods: refine
6368Metrics/BlockLength :
64- Enabled : false
65- Max : 270
69+ Max : 300
6670
6771# Offense count: 2
6872# Configuration parameters: CountBlocks.
6973Metrics/BlockNesting :
7074 Max : 4
7175
7276# Offense count: 1
73- # Configuration parameters: CountComments.
77+ # Configuration parameters: CountComments, CountAsOne .
7478Metrics/ClassLength :
75- Max : 146
79+ Max : 123
7680
77- # Offense count: 2
81+ # Offense count: 1
82+ # Configuration parameters: AllowedMethods, AllowedPatterns.
7883Metrics/CyclomaticComplexity :
79- Max : 26
84+ Max : 18
8085
8186# Offense count: 3
82- # Configuration parameters: CountComments.
87+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns .
8388Metrics/MethodLength :
84- Max : 77
89+ Max : 69
8590
8691# Offense count: 2
92+ # Configuration parameters: AllowedMethods, AllowedPatterns.
8793Metrics/PerceivedComplexity :
88- Max : 32
94+ Max : 31
8995
9096# Offense count: 25
91- # Cop supports --auto-correct .
92- # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods .
93- # SupportedStyles: line_count_based, semantic, braces_for_chaining
97+ # This cop supports safe autocorrection (--autocorrect) .
98+ # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods .
99+ # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
94100# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
95101# FunctionalMethods: let, let!, subject, watch
96- # IgnoredMethods : lambda, proc, it
102+ # AllowedMethods : lambda, proc, it
97103Style/BlockDelimiters :
98104 Exclude :
99105 - ' spec/unit/pathspec_spec.rb'
100106
101- # Offense count: 11
102- # Cop supports --auto-correct.
103- # Configuration parameters: EnforcedStyle.
104- # SupportedStyles: when_needed, always, never
105- Style/FrozenStringLiteralComment :
106- Exclude :
107- - ' Gemfile'
108- - ' Rakefile'
109- - ' lib/pathspec.rb'
110- - ' lib/pathspec/gitignorespec.rb'
111- - ' lib/pathspec/regexspec.rb'
112- - ' lib/pathspec/spec.rb'
113- - ' pathspec.gemspec'
114- - ' spec/spec_helper.rb'
115- - ' spec/unit/pathspec/gitignorespec_spec.rb'
116- - ' spec/unit/pathspec/spec_spec.rb'
117- - ' spec/unit/pathspec_spec.rb'
118-
119107# Offense count: 1
120- # Cop supports --auto-correct .
121- # Configuration parameters: IgnoredMethods .
122- # IgnoredMethods: respond_to, define_method
108+ # This cop supports unsafe autocorrection (--autocorrect-all) .
109+ # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments .
110+ # AllowedMethods: define_method
123111Style/SymbolProc :
124112 Exclude :
125113 - ' lib/pathspec.rb'
126-
127- # Offense count: 7
128- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
129- # URISchemes: http, https
130- Layout/LineLength :
131- Max : 108
0 commit comments