11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2020-11-28 01:32:55 UTC using RuboCop version 1.4.2 .
3+ # on 2024-10-20 13:03:27 UTC using RuboCop version 1.67.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: 2
10- # Cop supports --auto-correct.
11- # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
12- # Include: **/*.gemfile, **/Gemfile, **/gems.rb
13- Bundler/OrderedGems :
14- Exclude :
15- - ' Gemfile'
16-
179# Offense count: 1
10+ # Configuration parameters: AllowedParentClasses.
1811Lint/MissingSuper :
1912 Exclude :
2013 - ' lib/commands/base.rb'
@@ -31,30 +24,105 @@ Lint/MixedRegexpCaptureTypes:
3124 - ' lib/commands/touch.rb'
3225 - ' lib/commands/vi.rb'
3326
34- # Offense count: 2
35- # Cop supports --auto-correct.
36- Lint/NonDeterministicRequireOrder :
37- Exclude :
38- - ' app.rb'
39- - ' spec/spec_helper.rb'
40-
4127# Offense count: 1
42- # Configuration parameters: AllowComments.
28+ # Configuration parameters: AllowComments, AllowNil .
4329Lint/SuppressedException :
4430 Exclude :
4531 - ' lib/models/vi_program.rb'
4632
4733# Offense count: 2
4834# Configuration parameters: ForbiddenDelimiters.
49- # ForbiddenDelimiters: (?-mix :(^|\s)(EO[A-Z]{1}|END)(\s|$))
35+ # ForbiddenDelimiters: (?i-mx :(^|\s)(EO[A-Z]{1}|END)(\s|$))
5036Naming/HeredocDelimiterNaming :
5137 Exclude :
5238 - ' lib/commands/man.rb'
5339 - ' lib/info.rb'
5440
55- # Offense count: 17
56- # Cop supports --auto-correct.
57- # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
41+ # Offense count: 2
42+ RSpec/AnyInstance :
43+ Exclude :
44+ - ' spec/integration/add_to_slack_spec.rb'
45+
46+ # Offense count: 22
47+ # Configuration parameters: Prefixes, AllowedPatterns.
48+ # Prefixes: when, with, without
49+ RSpec/ContextWording :
50+ Exclude :
51+ - ' spec/commands/cat_spec.rb'
52+ - ' spec/commands/cd_spec.rb'
53+ - ' spec/commands/echo_spec.rb'
54+ - ' spec/commands/ls_spec.rb'
55+ - ' spec/commands/man_spec.rb'
56+ - ' spec/commands/mkdir_spec.rb'
57+ - ' spec/commands/pwd_spec.rb'
58+ - ' spec/commands/rm_spec.rb'
59+ - ' spec/commands/touch_spec.rb'
60+ - ' spec/commands/uname_spec.rb'
61+ - ' spec/commands/vi_spec.rb'
62+ - ' spec/commands/whoami_spec.rb'
63+ - ' spec/models/file_system_spec.rb'
64+ - ' spec/models/team_spec.rb'
65+ - ' spec/support/api/endpoints/it_behaves_like_a_cursor_api.rb'
66+
67+ # Offense count: 9
68+ # Configuration parameters: CountAsOne.
69+ RSpec/ExampleLength :
70+ Max : 11
71+
72+ # Offense count: 1
73+ # Configuration parameters: AssignmentOnly.
74+ RSpec/InstanceVariable :
75+ Exclude :
76+ - ' spec/support/api/endpoints/it_behaves_like_a_cursor_api.rb'
77+
78+ # Offense count: 2
79+ RSpec/LetSetup :
80+ Exclude :
81+ - ' spec/commands/rm_spec.rb'
82+
83+ # Offense count: 27
84+ # Configuration parameters: .
85+ # SupportedStyles: have_received, receive
86+ RSpec/MessageSpies :
87+ EnforcedStyle : receive
88+
89+ # Offense count: 21
90+ RSpec/MultipleExpectations :
91+ Max : 6
92+
93+ # Offense count: 1
94+ # Configuration parameters: AllowSubject.
95+ RSpec/MultipleMemoizedHelpers :
96+ Max : 6
97+
98+ # Offense count: 3
99+ # Configuration parameters: AllowedGroups.
100+ RSpec/NestedGroups :
101+ Max : 5
102+
103+ # Offense count: 13
104+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
105+ # Include: **/*_spec.rb
106+ RSpec/SpecFilePathFormat :
107+ Exclude :
108+ - ' **/spec/routing/**/*'
109+ - ' spec/commands/cat_spec.rb'
110+ - ' spec/commands/cd_spec.rb'
111+ - ' spec/commands/echo_spec.rb'
112+ - ' spec/commands/ls_spec.rb'
113+ - ' spec/commands/man_spec.rb'
114+ - ' spec/commands/mkdir_spec.rb'
115+ - ' spec/commands/pwd_spec.rb'
116+ - ' spec/commands/rm_spec.rb'
117+ - ' spec/commands/touch_spec.rb'
118+ - ' spec/commands/uname_spec.rb'
119+ - ' spec/commands/vi_spec.rb'
120+ - ' spec/commands/whoami_spec.rb'
121+ - ' spec/version_spec.rb'
122+
123+ # Offense count: 9
124+ # This cop supports safe autocorrection (--autocorrect).
125+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
58126# URISchemes: http, https
59127Layout/LineLength :
60- Max : 150
128+ Max : 149
0 commit comments