armitage-rubocop 1.81.7.0 → 1.89.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/Gemfile.lock +55 -42
- data/armitage-rubocop.gemspec +8 -7
- data/lib/common/layout.yml +20 -7
- data/lib/common/lint.yml +12 -0
- data/lib/common/rails.yml +9 -0
- data/lib/common/style.yml +84 -0
- data/lib/rbs/layout.yml +3 -0
- data/lib/rbs/lint.yml +0 -3
- data/lib/rspec/capybara.yml +18 -16
- data/lib/rspec/rspec.yml +9 -0
- data/lib/rubocop.general.yml +1 -0
- metadata +27 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a09d335bf1820818a529d398ae415ac70e6175cc258e472ce8b9f70d1cbb0af1
|
|
4
|
+
data.tar.gz: bc8ca5f3bde00d81cfb845156257cc23a21d150b637dc7e71d6511f570a624e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37a5d80ed2d985ff03b0e73f55362f4a3aaeaa8c5941c66d0fab2f418baa1822fccb41d0d992ed9de99ddb934176658a4a80da898bcaddbb2533c372e3d595f1
|
|
7
|
+
data.tar.gz: e8720b7942d8a45041082ebd2a266b046ec2ed30727da46c531b4b0c46cc41dc7faaba4baa818446c82926344f3a8669511328901b178ac60b860f41f2cdf60f
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
armitage-rubocop (1.
|
|
5
|
-
rubocop (= 1.
|
|
6
|
-
rubocop-capybara (=
|
|
4
|
+
armitage-rubocop (1.89.0)
|
|
5
|
+
rubocop (= 1.89.0)
|
|
6
|
+
rubocop-capybara (= 3.0.0)
|
|
7
7
|
rubocop-factory_bot (= 2.28.0)
|
|
8
|
-
rubocop-on-rbs (=
|
|
8
|
+
rubocop-on-rbs (= 2.0.0)
|
|
9
9
|
rubocop-performance (= 1.26.1)
|
|
10
|
-
rubocop-rails (= 2.
|
|
10
|
+
rubocop-rails (= 2.36.0)
|
|
11
11
|
rubocop-rake (= 0.7.1)
|
|
12
|
-
rubocop-rspec (= 3.
|
|
12
|
+
rubocop-rspec (= 3.10.2)
|
|
13
13
|
rubocop-rspec_rails (= 2.32.0)
|
|
14
14
|
rubocop-thread_safety (= 0.7.3)
|
|
15
|
-
armitage-rubocop (1.
|
|
16
|
-
rubocop (= 1.
|
|
17
|
-
rubocop-capybara (=
|
|
15
|
+
armitage-rubocop (1.89.0.0)
|
|
16
|
+
rubocop (= 1.89.0)
|
|
17
|
+
rubocop-capybara (= 3.0.0)
|
|
18
18
|
rubocop-factory_bot (= 2.28.0)
|
|
19
|
-
rubocop-on-rbs (=
|
|
19
|
+
rubocop-on-rbs (= 2.0.0)
|
|
20
20
|
rubocop-performance (= 1.26.1)
|
|
21
|
-
rubocop-rails (= 2.
|
|
21
|
+
rubocop-rails (= 2.36.0)
|
|
22
22
|
rubocop-rake (= 0.7.1)
|
|
23
|
-
rubocop-rspec (= 3.
|
|
23
|
+
rubocop-rspec (= 3.10.2)
|
|
24
24
|
rubocop-rspec_rails (= 2.32.0)
|
|
25
25
|
rubocop-thread_safety (= 0.7.3)
|
|
26
|
+
rubydex (= 0.3.0)
|
|
26
27
|
|
|
27
28
|
GEM
|
|
28
29
|
remote: https://rubygems.org/
|
|
29
30
|
specs:
|
|
30
|
-
activesupport (8.1.1)
|
|
31
|
+
activesupport (8.1.3.1)
|
|
31
32
|
base64
|
|
32
33
|
bigdecimal
|
|
33
34
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -42,64 +43,72 @@ GEM
|
|
|
42
43
|
uri (>= 0.13.1)
|
|
43
44
|
ast (2.4.3)
|
|
44
45
|
base64 (0.3.0)
|
|
45
|
-
bigdecimal (
|
|
46
|
+
bigdecimal (4.1.2)
|
|
46
47
|
coderay (1.1.3)
|
|
47
|
-
concurrent-ruby (1.3.
|
|
48
|
-
connection_pool (
|
|
48
|
+
concurrent-ruby (1.3.8)
|
|
49
|
+
connection_pool (3.0.2)
|
|
49
50
|
drb (2.2.3)
|
|
50
|
-
i18n (1.
|
|
51
|
+
i18n (1.15.2)
|
|
51
52
|
concurrent-ruby (~> 1.0)
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
io-console (0.8.2)
|
|
54
|
+
json (2.21.2)
|
|
55
|
+
language_server-protocol (3.17.0.6)
|
|
54
56
|
lint_roller (1.1.0)
|
|
55
57
|
logger (1.7.0)
|
|
56
58
|
method_source (1.1.0)
|
|
57
|
-
minitest (
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
minitest (6.0.6)
|
|
60
|
+
drb (~> 2.0)
|
|
61
|
+
prism (~> 1.5)
|
|
62
|
+
parallel (2.1.0)
|
|
63
|
+
parser (3.3.12.0)
|
|
60
64
|
ast (~> 2.4.1)
|
|
61
65
|
racc
|
|
62
|
-
prism (1.
|
|
63
|
-
pry (0.
|
|
66
|
+
prism (1.9.0)
|
|
67
|
+
pry (0.16.0)
|
|
64
68
|
coderay (~> 1.1)
|
|
65
69
|
method_source (~> 1.0)
|
|
70
|
+
reline (>= 0.6.0)
|
|
66
71
|
racc (1.8.1)
|
|
67
|
-
rack (3.2.
|
|
72
|
+
rack (3.2.6)
|
|
68
73
|
rainbow (3.1.1)
|
|
69
|
-
rake (13.
|
|
70
|
-
rbs (
|
|
74
|
+
rake (13.4.2)
|
|
75
|
+
rbs (4.1.2)
|
|
71
76
|
logger
|
|
72
|
-
|
|
73
|
-
|
|
77
|
+
prism (>= 1.6.0)
|
|
78
|
+
tsort
|
|
79
|
+
regexp_parser (2.12.0)
|
|
80
|
+
reline (0.6.3)
|
|
81
|
+
io-console (~> 0.5)
|
|
82
|
+
rubocop (1.89.0)
|
|
74
83
|
json (~> 2.3)
|
|
75
84
|
language_server-protocol (~> 3.17.0.2)
|
|
76
85
|
lint_roller (~> 1.1.0)
|
|
77
|
-
parallel (
|
|
86
|
+
parallel (>= 1.10)
|
|
78
87
|
parser (>= 3.3.0.2)
|
|
79
88
|
rainbow (>= 2.2.2, < 4.0)
|
|
80
89
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
81
|
-
rubocop-ast (>= 1.
|
|
90
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
82
91
|
ruby-progressbar (~> 1.7)
|
|
83
92
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
84
|
-
rubocop-ast (1.
|
|
93
|
+
rubocop-ast (1.50.0)
|
|
85
94
|
parser (>= 3.3.7.2)
|
|
86
|
-
prism (~> 1.
|
|
87
|
-
rubocop-capybara (
|
|
95
|
+
prism (~> 1.7)
|
|
96
|
+
rubocop-capybara (3.0.0)
|
|
88
97
|
lint_roller (~> 1.1)
|
|
89
|
-
rubocop (~> 1.
|
|
98
|
+
rubocop (~> 1.81)
|
|
90
99
|
rubocop-factory_bot (2.28.0)
|
|
91
100
|
lint_roller (~> 1.1)
|
|
92
101
|
rubocop (~> 1.72, >= 1.72.1)
|
|
93
|
-
rubocop-on-rbs (
|
|
102
|
+
rubocop-on-rbs (2.0.0)
|
|
94
103
|
lint_roller (~> 1.1)
|
|
95
|
-
rbs (~>
|
|
104
|
+
rbs (~> 4.0)
|
|
96
105
|
rubocop (>= 1.72.1, < 2.0)
|
|
97
106
|
zlib
|
|
98
107
|
rubocop-performance (1.26.1)
|
|
99
108
|
lint_roller (~> 1.1)
|
|
100
109
|
rubocop (>= 1.75.0, < 2.0)
|
|
101
110
|
rubocop-ast (>= 1.47.1, < 2.0)
|
|
102
|
-
rubocop-rails (2.
|
|
111
|
+
rubocop-rails (2.36.0)
|
|
103
112
|
activesupport (>= 4.2.0)
|
|
104
113
|
lint_roller (~> 1.1)
|
|
105
114
|
rack (>= 1.1)
|
|
@@ -108,9 +117,10 @@ GEM
|
|
|
108
117
|
rubocop-rake (0.7.1)
|
|
109
118
|
lint_roller (~> 1.1)
|
|
110
119
|
rubocop (>= 1.72.1)
|
|
111
|
-
rubocop-rspec (3.
|
|
120
|
+
rubocop-rspec (3.10.2)
|
|
112
121
|
lint_roller (~> 1.1)
|
|
113
|
-
|
|
122
|
+
regexp_parser (>= 2.0)
|
|
123
|
+
rubocop (~> 1.86, >= 1.86.2)
|
|
114
124
|
rubocop-rspec_rails (2.32.0)
|
|
115
125
|
lint_roller (~> 1.1)
|
|
116
126
|
rubocop (~> 1.72, >= 1.72.1)
|
|
@@ -120,14 +130,17 @@ GEM
|
|
|
120
130
|
rubocop (~> 1.72, >= 1.72.1)
|
|
121
131
|
rubocop-ast (>= 1.44.0, < 2.0)
|
|
122
132
|
ruby-progressbar (1.13.0)
|
|
133
|
+
rubydex (0.3.0)
|
|
134
|
+
rubydex (0.3.0-arm64-darwin)
|
|
123
135
|
securerandom (0.4.1)
|
|
136
|
+
tsort (0.2.0)
|
|
124
137
|
tzinfo (2.0.6)
|
|
125
138
|
concurrent-ruby (~> 1.0)
|
|
126
139
|
unicode-display_width (3.2.0)
|
|
127
140
|
unicode-emoji (~> 4.1)
|
|
128
|
-
unicode-emoji (4.
|
|
141
|
+
unicode-emoji (4.2.0)
|
|
129
142
|
uri (1.1.1)
|
|
130
|
-
zlib (3.2.
|
|
143
|
+
zlib (3.2.3)
|
|
131
144
|
|
|
132
145
|
PLATFORMS
|
|
133
146
|
arm64-darwin-24
|
data/armitage-rubocop.gemspec
CHANGED
|
@@ -4,9 +4,9 @@ lib = File.expand_path('lib', __dir__)
|
|
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
|
-
spec.required_ruby_version = '>=
|
|
7
|
+
spec.required_ruby_version = '>= 4.0'
|
|
8
8
|
|
|
9
|
-
spec.version = '1.
|
|
9
|
+
spec.version = '1.89.0.0'
|
|
10
10
|
|
|
11
11
|
spec.name = 'armitage-rubocop'
|
|
12
12
|
spec.license = 'MIT'
|
|
@@ -24,16 +24,17 @@ Gem::Specification.new do |spec|
|
|
|
24
24
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
spec.add_dependency 'rubocop', '= 1.
|
|
27
|
+
spec.add_dependency 'rubocop', '= 1.89.0'
|
|
28
28
|
spec.add_dependency 'rubocop-performance', '= 1.26.1'
|
|
29
|
-
spec.add_dependency 'rubocop-rails', '= 2.
|
|
30
|
-
spec.add_dependency 'rubocop-rspec', '= 3.
|
|
29
|
+
spec.add_dependency 'rubocop-rails', '= 2.36.0'
|
|
30
|
+
spec.add_dependency 'rubocop-rspec', '= 3.10.2'
|
|
31
31
|
spec.add_dependency 'rubocop-rspec_rails', '= 2.32.0'
|
|
32
32
|
spec.add_dependency 'rubocop-rake', '= 0.7.1'
|
|
33
|
-
spec.add_dependency 'rubocop-capybara', '=
|
|
33
|
+
spec.add_dependency 'rubocop-capybara', '= 3.0.0'
|
|
34
34
|
spec.add_dependency 'rubocop-factory_bot', '= 2.28.0'
|
|
35
|
-
spec.add_dependency 'rubocop-on-rbs', '=
|
|
35
|
+
spec.add_dependency 'rubocop-on-rbs', '= 2.0.0'
|
|
36
36
|
spec.add_dependency 'rubocop-thread_safety', '= 0.7.3'
|
|
37
|
+
spec.add_dependency 'rubydex', '= 0.3.0'
|
|
37
38
|
|
|
38
39
|
spec.add_development_dependency 'bundler', '~> 2.3'
|
|
39
40
|
spec.add_development_dependency 'rake', '~> 13.1'
|
data/lib/common/layout.yml
CHANGED
|
@@ -28,7 +28,6 @@ Layout/ParameterAlignment:
|
|
|
28
28
|
Layout/BeginEndAlignment:
|
|
29
29
|
Enabled: true
|
|
30
30
|
EnforcedStyleAlignWith: start_of_line
|
|
31
|
-
Severity: warning
|
|
32
31
|
|
|
33
32
|
Lint/RequireRelativeSelfPath:
|
|
34
33
|
Enabled: true
|
|
@@ -57,13 +56,23 @@ Layout/ClassStructure:
|
|
|
57
56
|
- include
|
|
58
57
|
- prepend
|
|
59
58
|
- extend
|
|
59
|
+
attribute_macros:
|
|
60
|
+
- attr_reader
|
|
61
|
+
- attr_writer
|
|
62
|
+
- attr_accessor
|
|
60
63
|
ExpectedOrder:
|
|
61
64
|
- module_inclusion
|
|
62
65
|
- constants
|
|
66
|
+
- public_attribute_macros
|
|
67
|
+
- public_delegate
|
|
68
|
+
- macros
|
|
63
69
|
- public_class_methods
|
|
64
70
|
- initializer
|
|
65
71
|
- public_methods
|
|
72
|
+
- protected_attribute_macros
|
|
66
73
|
- protected_methods
|
|
74
|
+
- private_attribute_macros
|
|
75
|
+
- private_delegate
|
|
67
76
|
- private_methods
|
|
68
77
|
|
|
69
78
|
Layout/ClosingHeredocIndentation:
|
|
@@ -80,11 +89,13 @@ Layout/ConditionPosition:
|
|
|
80
89
|
Enabled: true
|
|
81
90
|
AutoCorrect: true
|
|
82
91
|
|
|
92
|
+
Lint/DeprecatedReference:
|
|
93
|
+
Enabled: true
|
|
94
|
+
|
|
83
95
|
Layout/DefEndAlignment:
|
|
84
96
|
Enabled: true
|
|
85
97
|
EnforcedStyleAlignWith: start_of_line
|
|
86
98
|
AutoCorrect: false
|
|
87
|
-
Severity: warning
|
|
88
99
|
|
|
89
100
|
Layout/DotPosition:
|
|
90
101
|
Enabled: true
|
|
@@ -162,7 +173,6 @@ Layout/EndAlignment:
|
|
|
162
173
|
Enabled: true
|
|
163
174
|
EnforcedStyleAlignWith: keyword
|
|
164
175
|
AutoCorrect: false
|
|
165
|
-
Severity: warning
|
|
166
176
|
|
|
167
177
|
Layout/EndOfLine:
|
|
168
178
|
Enabled: true
|
|
@@ -233,6 +243,7 @@ Layout/LeadingEmptyLines:
|
|
|
233
243
|
|
|
234
244
|
Layout/LeadingCommentSpace:
|
|
235
245
|
Enabled: true
|
|
246
|
+
AllowYARDCommentBlockSeparator: true
|
|
236
247
|
AllowDoxygenCommentStyle: false
|
|
237
248
|
AllowGemfileRubyComment: true
|
|
238
249
|
AllowRBSInlineAnnotation: true
|
|
@@ -252,16 +263,18 @@ Layout/LineLength:
|
|
|
252
263
|
Enabled: true
|
|
253
264
|
AutoCorrect: true
|
|
254
265
|
Max: 100
|
|
255
|
-
AllowHeredoc: true
|
|
256
|
-
AllowURI: true
|
|
257
266
|
URISchemes:
|
|
258
267
|
- http
|
|
259
268
|
- https
|
|
260
|
-
IgnoreCopDirectives: false
|
|
261
|
-
AllowedPatterns: []
|
|
262
269
|
Exclude:
|
|
263
270
|
- Gemfile
|
|
264
271
|
SplitStrings: false
|
|
272
|
+
AllowedPatterns: []
|
|
273
|
+
AllowRBSInlineAnnotation: true
|
|
274
|
+
AllowCopDirectives: true
|
|
275
|
+
AllowQualifiedName: true
|
|
276
|
+
AllowHeredoc: true
|
|
277
|
+
AllowURI: true
|
|
265
278
|
|
|
266
279
|
Layout/MultilineMethodParameterLineBreaks:
|
|
267
280
|
Enabled: true
|
data/lib/common/lint.yml
CHANGED
|
@@ -59,6 +59,9 @@ Lint/ConstantResolution:
|
|
|
59
59
|
Only: []
|
|
60
60
|
Ignore: []
|
|
61
61
|
|
|
62
|
+
Lint/DataDefineOverride:
|
|
63
|
+
Enabled: true
|
|
64
|
+
|
|
62
65
|
Lint/Debugger:
|
|
63
66
|
Enabled: true
|
|
64
67
|
|
|
@@ -257,6 +260,9 @@ Lint/MissingSuper:
|
|
|
257
260
|
Lint/MultipleComparison:
|
|
258
261
|
Enabled: true
|
|
259
262
|
|
|
263
|
+
Lint/NameTypo:
|
|
264
|
+
Enabled: true
|
|
265
|
+
|
|
260
266
|
Lint/NestedMethodDefinition:
|
|
261
267
|
Enabled: true
|
|
262
268
|
|
|
@@ -453,6 +459,9 @@ Lint/UnmodifiedReduceAccumulator:
|
|
|
453
459
|
Lint/UnifiedInteger:
|
|
454
460
|
Enabled: true
|
|
455
461
|
|
|
462
|
+
Lint/UnreachablePatternBranch:
|
|
463
|
+
Enabled: true
|
|
464
|
+
|
|
456
465
|
Lint/UnreachableLoop:
|
|
457
466
|
Enabled: true
|
|
458
467
|
|
|
@@ -472,6 +481,9 @@ Lint/RedundantSplatExpansion:
|
|
|
472
481
|
Lint/UnreachableCode:
|
|
473
482
|
Enabled: true
|
|
474
483
|
|
|
484
|
+
Lint/UnusedPrivateMethod:
|
|
485
|
+
Enabled: true
|
|
486
|
+
|
|
475
487
|
Lint/UnusedBlockArgument:
|
|
476
488
|
Enabled: false
|
|
477
489
|
IgnoreEmptyBlocks: true
|
data/lib/common/rails.yml
CHANGED
|
@@ -140,6 +140,9 @@ Rails/EnumHash:
|
|
|
140
140
|
Include:
|
|
141
141
|
- app/models/**/*.rb
|
|
142
142
|
|
|
143
|
+
Rails/Env:
|
|
144
|
+
Enabled: false
|
|
145
|
+
|
|
143
146
|
Rails/EnvLocal:
|
|
144
147
|
Enabled: true
|
|
145
148
|
|
|
@@ -187,6 +190,9 @@ Rails/HttpPositionalArguments:
|
|
|
187
190
|
Rails/HttpStatus:
|
|
188
191
|
Enabled: false
|
|
189
192
|
|
|
193
|
+
Rails/HttpStatusNameConsistency:
|
|
194
|
+
Enabled: true
|
|
195
|
+
|
|
190
196
|
Rails/I18nLocaleTexts:
|
|
191
197
|
Enabled: false
|
|
192
198
|
|
|
@@ -277,6 +283,9 @@ Rails/RootPublicPath:
|
|
|
277
283
|
Rails/RootJoinChain:
|
|
278
284
|
Enabled: true
|
|
279
285
|
|
|
286
|
+
Rails/RedirectBackOrTo:
|
|
287
|
+
Enabled: true
|
|
288
|
+
|
|
280
289
|
Rails/ReadWriteAttribute:
|
|
281
290
|
Enabled: true
|
|
282
291
|
|
data/lib/common/style.yml
CHANGED
|
@@ -200,6 +200,45 @@ Style/EachForSimpleLoop:
|
|
|
200
200
|
Style/EachWithObject:
|
|
201
201
|
Enabled: true
|
|
202
202
|
|
|
203
|
+
Style/EmptyClassDefinition:
|
|
204
|
+
Enabled: false
|
|
205
|
+
EnforcedStyle: class_keyword
|
|
206
|
+
AllowedParentClasses:
|
|
207
|
+
- NoMemoryError
|
|
208
|
+
- ScriptError
|
|
209
|
+
- LoadError
|
|
210
|
+
- NotImplementedError
|
|
211
|
+
- SyntaxError
|
|
212
|
+
- SecurityError
|
|
213
|
+
- SignalException
|
|
214
|
+
- Interrupt
|
|
215
|
+
- StandardError
|
|
216
|
+
- ArgumentError
|
|
217
|
+
- UncaughtThrowError
|
|
218
|
+
- EncodingError
|
|
219
|
+
- FiberError
|
|
220
|
+
- IOError
|
|
221
|
+
- EOFError
|
|
222
|
+
- IndexError
|
|
223
|
+
- KeyError
|
|
224
|
+
- StopIteration
|
|
225
|
+
- ClosedQueueError
|
|
226
|
+
- LocalJumpError
|
|
227
|
+
- NameError
|
|
228
|
+
- NoMethodError
|
|
229
|
+
- RangeError
|
|
230
|
+
- FloatDomainError
|
|
231
|
+
- RegexpError
|
|
232
|
+
- RuntimeError
|
|
233
|
+
- FrozenError
|
|
234
|
+
- SystemCallError
|
|
235
|
+
- Errno
|
|
236
|
+
- ThreadError
|
|
237
|
+
- TypeError
|
|
238
|
+
- ZeroDivisionError
|
|
239
|
+
- SystemExit
|
|
240
|
+
- SystemStackError
|
|
241
|
+
|
|
203
242
|
Style/EmptyHeredoc:
|
|
204
243
|
Enabled: true
|
|
205
244
|
|
|
@@ -266,6 +305,9 @@ Style/FetchEnvVar:
|
|
|
266
305
|
Enabled: true
|
|
267
306
|
DefaultToNil: true
|
|
268
307
|
|
|
308
|
+
Style/FileOpen:
|
|
309
|
+
Enabled: true
|
|
310
|
+
|
|
269
311
|
Style/FileEmpty:
|
|
270
312
|
Enabled: true
|
|
271
313
|
|
|
@@ -324,6 +366,9 @@ Style/GuardClause:
|
|
|
324
366
|
MinBodyLength: 1
|
|
325
367
|
AllowConsecutiveConditionals: false
|
|
326
368
|
|
|
369
|
+
Style/HashLookupMethod:
|
|
370
|
+
Enabled: false
|
|
371
|
+
|
|
327
372
|
Style/HashAsLastArrayItem:
|
|
328
373
|
Enabled: true
|
|
329
374
|
EnforcedStyle: braces
|
|
@@ -431,6 +476,9 @@ Style/MagicCommentFormat:
|
|
|
431
476
|
DirectiveCapitalization: lowercase
|
|
432
477
|
ValueCapitalization: ~
|
|
433
478
|
|
|
479
|
+
Style/MapJoin:
|
|
480
|
+
Enabled: false # NOTE: unsafe for non-array objects
|
|
481
|
+
|
|
434
482
|
Style/MapIntoArray:
|
|
435
483
|
Enabled: false # NOTE: it is unsafe at the moment
|
|
436
484
|
|
|
@@ -482,6 +530,9 @@ Style/MixinGrouping:
|
|
|
482
530
|
Style/MixinUsage:
|
|
483
531
|
Enabled: true
|
|
484
532
|
|
|
533
|
+
Style/ModuleMemberExistenceCheck:
|
|
534
|
+
Enabled: true
|
|
535
|
+
|
|
485
536
|
Style/ModuleFunction:
|
|
486
537
|
Enabled: false
|
|
487
538
|
|
|
@@ -518,6 +569,9 @@ Style/MultipleComparison:
|
|
|
518
569
|
Style/MutableConstant:
|
|
519
570
|
Enabled: true
|
|
520
571
|
|
|
572
|
+
Style/NegativeArrayIndex:
|
|
573
|
+
Enabled: true
|
|
574
|
+
|
|
521
575
|
Style/NegatedIf:
|
|
522
576
|
Enabled: true
|
|
523
577
|
EnforcedStyle: both
|
|
@@ -593,6 +647,9 @@ Style/ObjectThen:
|
|
|
593
647
|
Enabled: true
|
|
594
648
|
EnforcedStyle: yield_self
|
|
595
649
|
|
|
650
|
+
Style/OneClassPerFile:
|
|
651
|
+
Enabled: true
|
|
652
|
+
|
|
596
653
|
Style/OneLineConditional:
|
|
597
654
|
Enabled: true
|
|
598
655
|
|
|
@@ -613,6 +670,9 @@ Style/OptionalBooleanParameter:
|
|
|
613
670
|
AllowedMethods:
|
|
614
671
|
- respond_to_missing?
|
|
615
672
|
|
|
673
|
+
Style/PartitionInsteadOfDoubleSelect:
|
|
674
|
+
Enabled: false # NOTE: unsafe method names
|
|
675
|
+
|
|
616
676
|
Style/ParallelAssignment:
|
|
617
677
|
Enabled: false
|
|
618
678
|
|
|
@@ -629,6 +689,9 @@ Style/PercentQLiterals:
|
|
|
629
689
|
Style/PerlBackrefs:
|
|
630
690
|
Enabled: true
|
|
631
691
|
|
|
692
|
+
Style/PredicateWithKind:
|
|
693
|
+
Enabled: false
|
|
694
|
+
|
|
632
695
|
Style/PreferredHashMethods:
|
|
633
696
|
Enabled: true
|
|
634
697
|
EnforcedStyle: short
|
|
@@ -644,9 +707,21 @@ Style/RaiseArgs:
|
|
|
644
707
|
Style/RandomWithOffset:
|
|
645
708
|
Enabled: true
|
|
646
709
|
|
|
710
|
+
Style/ReverseFind:
|
|
711
|
+
Enabled: true
|
|
712
|
+
|
|
647
713
|
Style/ReturnNilInPredicateMethodDefinition:
|
|
648
714
|
Enabled: true
|
|
649
715
|
|
|
716
|
+
Style/ReduceToHash:
|
|
717
|
+
Enabled: false
|
|
718
|
+
|
|
719
|
+
Style/RedundantStructKeywordInit:
|
|
720
|
+
Enabled: true
|
|
721
|
+
|
|
722
|
+
Style/RedundantMinMaxBy:
|
|
723
|
+
Enabled: true
|
|
724
|
+
|
|
650
725
|
Style/RedundantArrayFlatten:
|
|
651
726
|
Enabled: true
|
|
652
727
|
|
|
@@ -778,6 +853,15 @@ Style/SendWithLiteralMethodName:
|
|
|
778
853
|
Enabled: true
|
|
779
854
|
AllowSend: true
|
|
780
855
|
|
|
856
|
+
Style/SelectByKind:
|
|
857
|
+
Enabled: false # NOTE: unsafe (receiver can be not an array/enumerable)
|
|
858
|
+
|
|
859
|
+
Style/SelectByRange:
|
|
860
|
+
Enabled: false # NOTE: unsafe (receiver can be not an array/enumerable)
|
|
861
|
+
|
|
862
|
+
Style/TallyMethod:
|
|
863
|
+
Enabled: false # NOTE: unsafe (receiver can be not an array/enumerable)
|
|
864
|
+
|
|
781
865
|
Style/SelectByRegexp:
|
|
782
866
|
Enabled: false
|
|
783
867
|
|
data/lib/rbs/layout.yml
CHANGED
data/lib/rbs/lint.yml
CHANGED
data/lib/rspec/capybara.yml
CHANGED
|
@@ -4,19 +4,9 @@ Capybara/AmbiguousClick:
|
|
|
4
4
|
Capybara/RedundantWithinFind:
|
|
5
5
|
Enabled: true
|
|
6
6
|
|
|
7
|
-
Capybara/CurrentPathExpectation:
|
|
8
|
-
Enabled: true
|
|
9
|
-
|
|
10
|
-
# NOTE: deprecated cop (will be dropped with 3.0 release)
|
|
11
|
-
Capybara/ClickLinkOrButtonStyle:
|
|
12
|
-
Enabled: true
|
|
13
|
-
|
|
14
7
|
Capybara/FindAllFirst:
|
|
15
8
|
Enabled: true
|
|
16
9
|
|
|
17
|
-
Capybara/NegationMatcherAfterVisit:
|
|
18
|
-
Enabled: false
|
|
19
|
-
|
|
20
10
|
Capybara/RSpec/PredicateMatcher:
|
|
21
11
|
Enabled: true
|
|
22
12
|
Strict: true
|
|
@@ -25,20 +15,32 @@ Capybara/RSpec/PredicateMatcher:
|
|
|
25
15
|
Capybara/RSpec/HaveSelector:
|
|
26
16
|
Enabled: false
|
|
27
17
|
|
|
28
|
-
Capybara/
|
|
18
|
+
Capybara/SpecificFinders:
|
|
19
|
+
Enabled: false
|
|
20
|
+
|
|
21
|
+
Capybara/SpecificActions:
|
|
22
|
+
Enabled: true
|
|
23
|
+
|
|
24
|
+
Capybara/RSpec/HaveContent:
|
|
25
|
+
Enabled: true
|
|
26
|
+
|
|
27
|
+
Capybara/RSpec/CurrentPathExpectation:
|
|
29
28
|
Enabled: true
|
|
30
29
|
|
|
31
|
-
Capybara/SpecificMatcher:
|
|
30
|
+
Capybara/RSpec/SpecificMatcher:
|
|
32
31
|
Enabled: false
|
|
33
32
|
|
|
34
|
-
Capybara/
|
|
33
|
+
Capybara/RSpec/NegationMatcher:
|
|
35
34
|
Enabled: false
|
|
36
35
|
|
|
37
|
-
Capybara/
|
|
36
|
+
Capybara/RSpec/NegationMatcherAfterVisit:
|
|
38
37
|
Enabled: false
|
|
39
38
|
|
|
40
|
-
Capybara/
|
|
39
|
+
Capybara/RSpec/VisibilityMatcher:
|
|
40
|
+
Enabled: true
|
|
41
|
+
|
|
42
|
+
Capybara/AssertStyle:
|
|
41
43
|
Enabled: true
|
|
42
44
|
|
|
43
|
-
Capybara/MatchStyle:
|
|
45
|
+
Capybara/RSpec/MatchStyle:
|
|
44
46
|
Enabled: true
|
data/lib/rspec/rspec.yml
CHANGED
|
@@ -39,6 +39,9 @@ RSpec/ContextMethod:
|
|
|
39
39
|
RSpec/ContextWording:
|
|
40
40
|
Enabled: false
|
|
41
41
|
|
|
42
|
+
RSpec/DiscardedMatcher:
|
|
43
|
+
Enabled: true
|
|
44
|
+
|
|
42
45
|
RSpec/DuplicatedMetadata:
|
|
43
46
|
Enabled: true
|
|
44
47
|
|
|
@@ -193,6 +196,9 @@ RSpec/LetBeforeExamples:
|
|
|
193
196
|
RSpec/LetSetup:
|
|
194
197
|
Enabled: false
|
|
195
198
|
|
|
199
|
+
RSpec/MatchWithSimpleRegex:
|
|
200
|
+
Enabled: true
|
|
201
|
+
|
|
196
202
|
RSpec/MatchArray:
|
|
197
203
|
Enabled: false
|
|
198
204
|
|
|
@@ -244,6 +250,9 @@ RSpec/NotToNot:
|
|
|
244
250
|
RSpec/OverwritingSetup:
|
|
245
251
|
Enabled: true
|
|
246
252
|
|
|
253
|
+
RSpec/Output:
|
|
254
|
+
Enabled: false
|
|
255
|
+
|
|
247
256
|
RSpec/Pending:
|
|
248
257
|
Enabled: false
|
|
249
258
|
|
data/lib/rubocop.general.yml
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: armitage-rubocop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.89.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rustam Ibragimov
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 1.
|
|
18
|
+
version: 1.89.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 1.
|
|
25
|
+
version: 1.89.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: rubocop-performance
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -43,28 +43,28 @@ dependencies:
|
|
|
43
43
|
requirements:
|
|
44
44
|
- - '='
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 2.
|
|
46
|
+
version: 2.36.0
|
|
47
47
|
type: :runtime
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
51
|
- - '='
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 2.
|
|
53
|
+
version: 2.36.0
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
55
|
name: rubocop-rspec
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
58
|
- - '='
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 3.
|
|
60
|
+
version: 3.10.2
|
|
61
61
|
type: :runtime
|
|
62
62
|
prerelease: false
|
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - '='
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: 3.
|
|
67
|
+
version: 3.10.2
|
|
68
68
|
- !ruby/object:Gem::Dependency
|
|
69
69
|
name: rubocop-rspec_rails
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -99,14 +99,14 @@ dependencies:
|
|
|
99
99
|
requirements:
|
|
100
100
|
- - '='
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version:
|
|
102
|
+
version: 3.0.0
|
|
103
103
|
type: :runtime
|
|
104
104
|
prerelease: false
|
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
106
106
|
requirements:
|
|
107
107
|
- - '='
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version:
|
|
109
|
+
version: 3.0.0
|
|
110
110
|
- !ruby/object:Gem::Dependency
|
|
111
111
|
name: rubocop-factory_bot
|
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -127,14 +127,14 @@ dependencies:
|
|
|
127
127
|
requirements:
|
|
128
128
|
- - '='
|
|
129
129
|
- !ruby/object:Gem::Version
|
|
130
|
-
version:
|
|
130
|
+
version: 2.0.0
|
|
131
131
|
type: :runtime
|
|
132
132
|
prerelease: false
|
|
133
133
|
version_requirements: !ruby/object:Gem::Requirement
|
|
134
134
|
requirements:
|
|
135
135
|
- - '='
|
|
136
136
|
- !ruby/object:Gem::Version
|
|
137
|
-
version:
|
|
137
|
+
version: 2.0.0
|
|
138
138
|
- !ruby/object:Gem::Dependency
|
|
139
139
|
name: rubocop-thread_safety
|
|
140
140
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -149,6 +149,20 @@ dependencies:
|
|
|
149
149
|
- - '='
|
|
150
150
|
- !ruby/object:Gem::Version
|
|
151
151
|
version: 0.7.3
|
|
152
|
+
- !ruby/object:Gem::Dependency
|
|
153
|
+
name: rubydex
|
|
154
|
+
requirement: !ruby/object:Gem::Requirement
|
|
155
|
+
requirements:
|
|
156
|
+
- - '='
|
|
157
|
+
- !ruby/object:Gem::Version
|
|
158
|
+
version: 0.3.0
|
|
159
|
+
type: :runtime
|
|
160
|
+
prerelease: false
|
|
161
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
162
|
+
requirements:
|
|
163
|
+
- - '='
|
|
164
|
+
- !ruby/object:Gem::Version
|
|
165
|
+
version: 0.3.0
|
|
152
166
|
- !ruby/object:Gem::Dependency
|
|
153
167
|
name: bundler
|
|
154
168
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -246,14 +260,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
246
260
|
requirements:
|
|
247
261
|
- - ">="
|
|
248
262
|
- !ruby/object:Gem::Version
|
|
249
|
-
version: '
|
|
263
|
+
version: '4.0'
|
|
250
264
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
265
|
requirements:
|
|
252
266
|
- - ">="
|
|
253
267
|
- !ruby/object:Gem::Version
|
|
254
268
|
version: '0'
|
|
255
269
|
requirements: []
|
|
256
|
-
rubygems_version:
|
|
270
|
+
rubygems_version: 4.0.16
|
|
257
271
|
specification_version: 4
|
|
258
272
|
summary: A set of rubocop settings
|
|
259
273
|
test_files: []
|