armitage-rubocop 0.85.1 → 0.89.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/armitage-rubocop.gemspec +5 -5
- data/lib/common/layout.yml +3 -0
- data/lib/common/lint.yml +45 -5
- data/lib/common/naming.yml +1 -0
- data/lib/common/performance.yml +27 -0
- data/lib/common/rails.yml +47 -0
- data/lib/common/style.yml +59 -7
- data/lib/rspec/rspec.yml +4 -0
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c28154435f7b4b3dce611b7eedca8497f6e5d6e53360459b7e9a9c8ac140bb99
|
4
|
+
data.tar.gz: e0080568e776946dc84708b57ca704bdfbeb1fcde5d7a5d7777a41b701ed491e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bff4699b1f8920f5d72db839673d0b5e167d5607f929a782e6d9945182fe18f3b557bb6beb4136afff858bb10d181bab9006be715fe1c21e6bd7f38fbebafc3
|
7
|
+
data.tar.gz: 4772b4ee3cf65a8f3abe93bd33dda81bb00f4ffddefc8f4bc281f0826c5d194d4132646b865a721792f16783dd08ef09e39dd728721ce867bd9ba68048b0b8d3
|
data/armitage-rubocop.gemspec
CHANGED
@@ -4,7 +4,7 @@ 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.version = '0.
|
7
|
+
spec.version = '0.89.1'
|
8
8
|
|
9
9
|
spec.name = 'armitage-rubocop'
|
10
10
|
spec.license = 'MIT'
|
@@ -22,10 +22,10 @@ Gem::Specification.new do |spec|
|
|
22
22
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
23
|
end
|
24
24
|
|
25
|
-
spec.add_dependency 'rubocop', '= 0.
|
26
|
-
spec.add_dependency 'rubocop-performance', '= 1.
|
27
|
-
spec.add_dependency 'rubocop-rails', '= 2.
|
28
|
-
spec.add_dependency 'rubocop-rspec', '= 1.
|
25
|
+
spec.add_dependency 'rubocop', '= 0.89.1'
|
26
|
+
spec.add_dependency 'rubocop-performance', '= 1.7.1'
|
27
|
+
spec.add_dependency 'rubocop-rails', '= 2.7.1'
|
28
|
+
spec.add_dependency 'rubocop-rspec', '= 1.43.2'
|
29
29
|
spec.add_dependency 'rubocop-rake', '= 0.5.1'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler'
|
data/lib/common/layout.yml
CHANGED
data/lib/common/lint.yml
CHANGED
@@ -14,12 +14,20 @@ Lint/AssignmentInCondition:
|
|
14
14
|
Lint/BigDecimalNew:
|
15
15
|
Enabled: true
|
16
16
|
|
17
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
18
|
+
Enabled: true
|
19
|
+
|
17
20
|
Lint/BooleanSymbol:
|
18
21
|
Enabled: false
|
19
22
|
|
20
23
|
Lint/CircularArgumentReference:
|
21
24
|
Enabled: true
|
22
25
|
|
26
|
+
Lint/ConstantResolution:
|
27
|
+
Enabled: false
|
28
|
+
Only: []
|
29
|
+
Ignore: []
|
30
|
+
|
23
31
|
Lint/Debugger:
|
24
32
|
Enabled: true
|
25
33
|
|
@@ -29,6 +37,10 @@ Lint/DeprecatedClassMethods:
|
|
29
37
|
Lint/DeprecatedOpenSSLConstant:
|
30
38
|
Enabled: true
|
31
39
|
|
40
|
+
Lint/DisjunctiveAssignmentInConstructor:
|
41
|
+
Enabled: true
|
42
|
+
AutoCorrect: false
|
43
|
+
|
32
44
|
Lint/DuplicateCaseCondition:
|
33
45
|
Enabled: true
|
34
46
|
|
@@ -38,12 +50,22 @@ Lint/DuplicateMethods:
|
|
38
50
|
Lint/DuplicateHashKey:
|
39
51
|
Enabled: true
|
40
52
|
|
53
|
+
Lint/DuplicateElsifCondition:
|
54
|
+
Enabled: true
|
55
|
+
|
41
56
|
Lint/EachWithObjectArgument:
|
42
57
|
Enabled: true
|
43
58
|
|
59
|
+
Lint/DuplicateRescueException:
|
60
|
+
Enabled: true
|
61
|
+
|
44
62
|
Lint/ElseLayout:
|
45
63
|
Enabled: true
|
46
64
|
|
65
|
+
Lint/EmptyConditionalBody:
|
66
|
+
Enabled: true
|
67
|
+
AllowComments: true
|
68
|
+
|
47
69
|
Lint/EmptyEnsure:
|
48
70
|
Enabled: true
|
49
71
|
AutoCorrect: true
|
@@ -60,7 +82,6 @@ Lint/EmptyWhen:
|
|
60
82
|
|
61
83
|
Lint/EnsureReturn:
|
62
84
|
Enabled: true
|
63
|
-
AutoCorrect: false
|
64
85
|
|
65
86
|
Lint/ErbNewArguments:
|
66
87
|
Enabled: true
|
@@ -72,10 +93,13 @@ Lint/FlipFlop:
|
|
72
93
|
Lint/FloatOutOfRange:
|
73
94
|
Enabled: true
|
74
95
|
|
96
|
+
Lint/FloatComparison:
|
97
|
+
Enabled: false
|
98
|
+
|
75
99
|
Lint/FormatParameterMismatch:
|
76
100
|
Enabled: true
|
77
101
|
|
78
|
-
|
102
|
+
Lint/SelfAssignment:
|
79
103
|
Enabled: true
|
80
104
|
|
81
105
|
Lint/StructNewOverride:
|
@@ -99,6 +123,7 @@ Lint/InheritException:
|
|
99
123
|
|
100
124
|
Lint/InterpolationCheck:
|
101
125
|
Enabled: true
|
126
|
+
AutoCorrect: true
|
102
127
|
|
103
128
|
Lint/LiteralAsCondition:
|
104
129
|
Enabled: true
|
@@ -108,6 +133,7 @@ Lint/LiteralInInterpolation:
|
|
108
133
|
|
109
134
|
Lint/Loop:
|
110
135
|
Enabled: true
|
136
|
+
AutoCorrect: true
|
111
137
|
|
112
138
|
Lint/MissingCopEnableDirective:
|
113
139
|
Enabled: true
|
@@ -116,6 +142,9 @@ Lint/MixedRegexpCaptureTypes:
|
|
116
142
|
Enabled: true
|
117
143
|
# NOTE: if you use named captures - numbered captures will be ignored. it is bad. validate it.
|
118
144
|
|
145
|
+
Lint/MissingSuper:
|
146
|
+
Enabled: false
|
147
|
+
|
119
148
|
Lint/MultipleComparison:
|
120
149
|
Enabled: true
|
121
150
|
|
@@ -140,6 +169,9 @@ Lint/NumberConversion:
|
|
140
169
|
Lint/OrderedMagicComments:
|
141
170
|
Enabled: true
|
142
171
|
|
172
|
+
Lint/OutOfRangeRegexpRef:
|
173
|
+
Enabled: true
|
174
|
+
|
143
175
|
Lint/ParenthesesAsGroupedExpression:
|
144
176
|
Enabled: true
|
145
177
|
AutoCorrect: true
|
@@ -152,6 +184,9 @@ Lint/PercentSymbolArray:
|
|
152
184
|
|
153
185
|
Lint/RaiseException:
|
154
186
|
Enabled: true
|
187
|
+
AutoCorrect: false
|
188
|
+
AllowedImplicitNamespaces:
|
189
|
+
- Gem
|
155
190
|
|
156
191
|
Lint/RandOne:
|
157
192
|
Enabled: true
|
@@ -164,6 +199,7 @@ Lint/RedundantWithObject:
|
|
164
199
|
|
165
200
|
Lint/RegexpAsCondition:
|
166
201
|
Enabled: true
|
202
|
+
AutoCorrect: true
|
167
203
|
|
168
204
|
Lint/RequireParentheses:
|
169
205
|
Enabled: true
|
@@ -185,6 +221,7 @@ Lint/SafeNavigationConsistency:
|
|
185
221
|
|
186
222
|
Lint/SafeNavigationWithEmpty:
|
187
223
|
Enabled: true
|
224
|
+
AutoCorrect: true
|
188
225
|
|
189
226
|
Lint/ScriptPermission:
|
190
227
|
Enabled: true
|
@@ -211,12 +248,18 @@ Lint/Syntax:
|
|
211
248
|
Lint/ToJSON:
|
212
249
|
Enabled: true
|
213
250
|
|
251
|
+
Lint/TopLevelReturnWithArgument:
|
252
|
+
Enabled: true
|
253
|
+
|
214
254
|
Lint/UnderscorePrefixedVariableName:
|
215
255
|
Enabled: false
|
216
256
|
|
217
257
|
Lint/UnifiedInteger:
|
218
258
|
Enabled: true
|
219
259
|
|
260
|
+
Lint/UnreachableLoop:
|
261
|
+
Enabled: true
|
262
|
+
|
220
263
|
Lint/RedundantCopDisableDirective:
|
221
264
|
Enabled: true
|
222
265
|
|
@@ -261,9 +304,6 @@ Lint/UselessAccessModifier:
|
|
261
304
|
Lint/UselessAssignment:
|
262
305
|
Enabled: true
|
263
306
|
|
264
|
-
Lint/UselessComparison:
|
265
|
-
Enabled: true
|
266
|
-
|
267
307
|
Lint/UselessElseWithoutRescue:
|
268
308
|
Enabled: true
|
269
309
|
|
data/lib/common/naming.yml
CHANGED
data/lib/common/performance.yml
CHANGED
@@ -1,6 +1,12 @@
|
|
1
|
+
Performance/AncestorsInclude:
|
2
|
+
Enabled: true
|
3
|
+
|
1
4
|
Performance/BindCall:
|
2
5
|
Enabled: true
|
3
6
|
|
7
|
+
Performance/BigDecimalWithNumericArgument:
|
8
|
+
Enabled: true
|
9
|
+
|
4
10
|
Performance/Caller:
|
5
11
|
Enabled: true
|
6
12
|
|
@@ -49,15 +55,24 @@ Performance/FlatMap:
|
|
49
55
|
Performance/InefficientHashSearch:
|
50
56
|
Enabled: true
|
51
57
|
|
58
|
+
Performance/IoReadlines:
|
59
|
+
Enabled: true
|
60
|
+
|
52
61
|
Performance/OpenStruct:
|
53
62
|
Enabled: true
|
54
63
|
|
55
64
|
Performance/RangeInclude:
|
56
65
|
Enabled: true
|
57
66
|
|
67
|
+
Performance/RedundantSortBlock:
|
68
|
+
Enabled: true
|
69
|
+
|
58
70
|
Performance/RedundantBlockCall:
|
59
71
|
Enabled: true
|
60
72
|
|
73
|
+
Performance/RedundantStringChars:
|
74
|
+
Enabled: true
|
75
|
+
|
61
76
|
Performance/RedundantMatch:
|
62
77
|
Enabled: true
|
63
78
|
|
@@ -71,13 +86,25 @@ Performance/RegexpMatch:
|
|
71
86
|
Performance/ReverseEach:
|
72
87
|
Enabled: true
|
73
88
|
|
89
|
+
Performance/ReverseFirst:
|
90
|
+
Enabled: true
|
91
|
+
|
74
92
|
Performance/Size:
|
75
93
|
Enabled: true
|
76
94
|
|
95
|
+
Performance/SortReverse:
|
96
|
+
Enabled: true
|
97
|
+
|
98
|
+
Performance/Squeeze:
|
99
|
+
Enabled: true
|
100
|
+
|
77
101
|
Performance/StartWith:
|
78
102
|
Enabled: true
|
79
103
|
AutoCorrect: false
|
80
104
|
|
105
|
+
Performance/StringInclude:
|
106
|
+
Enabled: true
|
107
|
+
|
81
108
|
Performance/StringReplacement:
|
82
109
|
Enabled: true
|
83
110
|
|
data/lib/common/rails.yml
CHANGED
@@ -5,6 +5,11 @@ Rails/ActionFilter:
|
|
5
5
|
Rails/ActiveRecordAliases:
|
6
6
|
Enabled: true
|
7
7
|
|
8
|
+
Rails/ActiveRecordCallbacksOrder:
|
9
|
+
Enabled: true
|
10
|
+
Include:
|
11
|
+
- app/models/**/*.rb
|
12
|
+
|
8
13
|
Rails/ActiveRecordOverride:
|
9
14
|
Enabled: true
|
10
15
|
Include:
|
@@ -52,6 +57,9 @@ Rails/Date:
|
|
52
57
|
Enabled: true
|
53
58
|
EnforcedStyle: flexible
|
54
59
|
|
60
|
+
Rails/DefaultScope:
|
61
|
+
Enabled: false
|
62
|
+
|
55
63
|
Rails/Delegate:
|
56
64
|
Enabled: false
|
57
65
|
|
@@ -88,6 +96,9 @@ Rails/FilePath:
|
|
88
96
|
Rails/FindBy:
|
89
97
|
Enabled: true
|
90
98
|
|
99
|
+
Rails/FindById:
|
100
|
+
Enabled: true
|
101
|
+
|
91
102
|
Rails/FindEach:
|
92
103
|
Enabled: true
|
93
104
|
|
@@ -112,6 +123,9 @@ Rails/IndexBy:
|
|
112
123
|
Rails/IndexWith:
|
113
124
|
Enabled: true
|
114
125
|
|
126
|
+
Rails/Inquiry:
|
127
|
+
Enabled: false
|
128
|
+
|
115
129
|
Rails/InverseOf:
|
116
130
|
Enabled: true
|
117
131
|
|
@@ -121,6 +135,16 @@ Rails/LexicallyScopedActionFilter:
|
|
121
135
|
Rails/LinkToBlank:
|
122
136
|
Enabled: true
|
123
137
|
|
138
|
+
Rails/MailerName:
|
139
|
+
Enabled: true
|
140
|
+
# mailer views are mapped to the mailer class with Mailer postfix in the name of a class
|
141
|
+
|
142
|
+
Rails/MatchRoute:
|
143
|
+
Enabled: true
|
144
|
+
|
145
|
+
Rails/NegateInclude:
|
146
|
+
Enabled: true
|
147
|
+
|
124
148
|
Rails/NotNullColumn:
|
125
149
|
Enabled: true
|
126
150
|
|
@@ -133,6 +157,15 @@ Rails/OutputSafety:
|
|
133
157
|
Rails/Pick:
|
134
158
|
Enabled: true
|
135
159
|
|
160
|
+
Rails/Pluck:
|
161
|
+
Enabled: true
|
162
|
+
|
163
|
+
Rails/PluckId:
|
164
|
+
Enabled: false
|
165
|
+
|
166
|
+
Rails/PluckInWhere:
|
167
|
+
Enabled: true
|
168
|
+
|
136
169
|
Rails/PluralizationGrammar:
|
137
170
|
Enabled: true
|
138
171
|
|
@@ -170,6 +203,13 @@ Rails/RelativeDateConstant:
|
|
170
203
|
Enabled: true
|
171
204
|
AutoCorrect: false
|
172
205
|
|
206
|
+
Rails/RenderInline:
|
207
|
+
Enabled: false
|
208
|
+
|
209
|
+
Rails/RenderPlainText:
|
210
|
+
Enabled: true
|
211
|
+
ContentTypeCompatibility: true
|
212
|
+
|
173
213
|
Rails/RequestReferer:
|
174
214
|
Enabled: true
|
175
215
|
EnforcedStyle: referer
|
@@ -190,6 +230,10 @@ Rails/SaveBang:
|
|
190
230
|
Rails/ScopeArgs:
|
191
231
|
Enabled: true
|
192
232
|
|
233
|
+
Rails/ShortI18n:
|
234
|
+
Enabled: true
|
235
|
+
EnforcedStyle: conservative
|
236
|
+
|
193
237
|
Rails/SkipsModelValidations:
|
194
238
|
Enabled: false
|
195
239
|
|
@@ -216,3 +260,6 @@ Rails/UnknownEnv:
|
|
216
260
|
|
217
261
|
Rails/Validation:
|
218
262
|
Enabled: true
|
263
|
+
|
264
|
+
Rails/WhereExists:
|
265
|
+
Enabled: false
|
data/lib/common/style.yml
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
Style/AccessorGrouping:
|
2
|
+
Enabled: true
|
3
|
+
EnforcedStyle: separated
|
4
|
+
|
1
5
|
Style/AccessModifierDeclarations:
|
2
6
|
Enabled: true
|
3
7
|
EnforcedStyle: group
|
@@ -7,6 +11,9 @@ Style/Alias:
|
|
7
11
|
Enabled: true
|
8
12
|
EnforcedStyle: prefer_alias_method
|
9
13
|
|
14
|
+
Style/ArrayCoercion:
|
15
|
+
Enabled: true
|
16
|
+
|
10
17
|
Style/AndOr:
|
11
18
|
Enabled: false
|
12
19
|
EnforcedStyle: always
|
@@ -31,6 +38,9 @@ Style/BarePercentLiterals:
|
|
31
38
|
Style/BeginBlock:
|
32
39
|
Enabled: true
|
33
40
|
|
41
|
+
Style/BisectedAttrAccessor:
|
42
|
+
Enabled: true
|
43
|
+
|
34
44
|
Style/BlockComments:
|
35
45
|
Enabled: true
|
36
46
|
|
@@ -42,6 +52,12 @@ Style/BlockDelimiters:
|
|
42
52
|
|
43
53
|
Style/CaseEquality:
|
44
54
|
Enabled: true
|
55
|
+
AllowOnConstant: false
|
56
|
+
AutoCorrect: true
|
57
|
+
|
58
|
+
Style/CaseLikeIf:
|
59
|
+
Enabled: true
|
60
|
+
AutoCorrect: true
|
45
61
|
|
46
62
|
Style/CharacterLiteral:
|
47
63
|
Enabled: true
|
@@ -155,6 +171,9 @@ Style/ExponentialNotation:
|
|
155
171
|
Enabled: true
|
156
172
|
EnforcedStyle: scientific
|
157
173
|
|
174
|
+
Style/ExplicitBlockArgument:
|
175
|
+
Enabled: true
|
176
|
+
|
158
177
|
Style/FloatDivision:
|
159
178
|
Enabled: false
|
160
179
|
|
@@ -179,10 +198,22 @@ Style/GlobalVars:
|
|
179
198
|
Enabled: true
|
180
199
|
AllowedVariables: []
|
181
200
|
|
201
|
+
Style/GlobalStdStream:
|
202
|
+
Enabled: false
|
203
|
+
|
182
204
|
Style/GuardClause:
|
183
205
|
Enabled: false
|
184
206
|
MinBodyLength: 1
|
185
207
|
|
208
|
+
Style/HashAsLastArrayItem:
|
209
|
+
Enabled: true
|
210
|
+
EnforcedStyle: braces
|
211
|
+
AutoCorrect: true
|
212
|
+
|
213
|
+
Style/HashLikeCase:
|
214
|
+
Enabled: false
|
215
|
+
MinBranchesCount: 4
|
216
|
+
|
186
217
|
Style/HashEachMethods:
|
187
218
|
Enabled: true
|
188
219
|
|
@@ -210,6 +241,7 @@ Style/IfUnlessModifier:
|
|
210
241
|
|
211
242
|
Style/IfUnlessModifierOfIfUnless:
|
212
243
|
Enabled: true
|
244
|
+
AutoCorrect: true
|
213
245
|
|
214
246
|
Style/IfWithSemicolon:
|
215
247
|
Enabled: true
|
@@ -254,9 +286,6 @@ Style/MethodDefParentheses:
|
|
254
286
|
Enabled: true
|
255
287
|
EnforcedStyle: require_parentheses
|
256
288
|
|
257
|
-
Style/MethodMissingSuper:
|
258
|
-
Enabled: false
|
259
|
-
|
260
289
|
Style/MinMax:
|
261
290
|
Enabled: true
|
262
291
|
|
@@ -294,6 +323,7 @@ Style/MultilineMethodSignature:
|
|
294
323
|
|
295
324
|
Style/MultilineTernaryOperator:
|
296
325
|
Enabled: false
|
326
|
+
AutoCorrect: true
|
297
327
|
|
298
328
|
Style/MultilineWhenThen:
|
299
329
|
Enabled: true
|
@@ -323,6 +353,7 @@ Style/NestedParenthesizedCalls:
|
|
323
353
|
|
324
354
|
Style/NestedTernaryOperator:
|
325
355
|
Enabled: true
|
356
|
+
AutoCorrect: true
|
326
357
|
|
327
358
|
Style/Next:
|
328
359
|
Enabled: true
|
@@ -331,7 +362,7 @@ Style/Next:
|
|
331
362
|
|
332
363
|
Style/NilComparison:
|
333
364
|
Enabled: true
|
334
|
-
EnforcedStyle:
|
365
|
+
EnforcedStyle: comparison
|
335
366
|
|
336
367
|
Style/NonNilCheck:
|
337
368
|
Enabled: true
|
@@ -348,9 +379,9 @@ Style/NumericLiterals:
|
|
348
379
|
Enabled: false
|
349
380
|
|
350
381
|
Style/NumericPredicate:
|
351
|
-
Enabled:
|
352
|
-
EnforcedStyle:
|
353
|
-
AutoCorrect:
|
382
|
+
Enabled: false # strongly situative cop
|
383
|
+
EnforcedStyle: comparison
|
384
|
+
AutoCorrect: true
|
354
385
|
IgnoredMethods: []
|
355
386
|
|
356
387
|
Style/OneLineConditional:
|
@@ -362,6 +393,9 @@ Style/OptionHash:
|
|
362
393
|
Style/OptionalArguments:
|
363
394
|
Enabled: true
|
364
395
|
|
396
|
+
Style/OptionalBooleanParameter:
|
397
|
+
Enabled: false
|
398
|
+
|
365
399
|
Style/ParallelAssignment:
|
366
400
|
Enabled: false
|
367
401
|
|
@@ -392,12 +426,22 @@ Style/RaiseArgs:
|
|
392
426
|
Style/RandomWithOffset:
|
393
427
|
Enabled: true
|
394
428
|
|
429
|
+
Style/RedundantAssignment:
|
430
|
+
Enabled: true
|
431
|
+
|
395
432
|
Style/RedundantBegin:
|
396
433
|
Enabled: true
|
397
434
|
|
398
435
|
Style/RedundantConditional:
|
399
436
|
Enabled: true
|
400
437
|
|
438
|
+
Style/RedundantFileExtensionInRequire:
|
439
|
+
Enabled: true
|
440
|
+
|
441
|
+
Style/RedundantFetchBlock:
|
442
|
+
Enabled: true
|
443
|
+
SafeForConstants: true
|
444
|
+
|
401
445
|
Style/RedundantRegexpCharacterClass:
|
402
446
|
Enabled: true
|
403
447
|
|
@@ -456,6 +500,9 @@ Style/SignalException:
|
|
456
500
|
Enabled: true
|
457
501
|
EnforcedStyle: only_raise
|
458
502
|
|
503
|
+
Style/SingleArgumentDig:
|
504
|
+
Enabled: true
|
505
|
+
|
459
506
|
Style/SingleLineBlockParams:
|
460
507
|
Enabled: false
|
461
508
|
|
@@ -478,6 +525,9 @@ Style/StabbyLambdaParentheses:
|
|
478
525
|
Style/StderrPuts:
|
479
526
|
Enabled: true
|
480
527
|
|
528
|
+
Style/StringConcatenation:
|
529
|
+
Enabled: true
|
530
|
+
|
481
531
|
Style/StringHashKeys:
|
482
532
|
Enabled: false
|
483
533
|
|
@@ -498,6 +548,7 @@ Style/Strip:
|
|
498
548
|
|
499
549
|
Style/StructInheritance:
|
500
550
|
Enabled: true
|
551
|
+
AutoCorrect: true
|
501
552
|
|
502
553
|
Style/SymbolArray:
|
503
554
|
Enabled: true
|
@@ -537,6 +588,7 @@ Style/TrailingCommaInBlockArgs:
|
|
537
588
|
Style/TrailingCommaInHashLiteral:
|
538
589
|
Enabled: true
|
539
590
|
EnforcedStyleForMultiline: no_comma
|
591
|
+
AutoCorrect: true
|
540
592
|
|
541
593
|
Style/TrailingMethodEndStatement:
|
542
594
|
Enabled: true
|
data/lib/rspec/rspec.yml
CHANGED
@@ -160,6 +160,9 @@ RSpec/MultipleDescribes:
|
|
160
160
|
RSpec/MultipleExpectations:
|
161
161
|
Enabled: false
|
162
162
|
|
163
|
+
RSpec/MultipleMemoizedHelpers:
|
164
|
+
Enabled: false
|
165
|
+
|
163
166
|
RSpec/MultipleSubjects:
|
164
167
|
Enabled: true
|
165
168
|
|
@@ -240,6 +243,7 @@ RSpec/VariableDefinition:
|
|
240
243
|
RSpec/VariableName:
|
241
244
|
Enabled: true
|
242
245
|
EnforcedStyle: snake_case
|
246
|
+
IgnoredPatterns: []
|
243
247
|
|
244
248
|
RSpec/VerifiedDoubles:
|
245
249
|
Enabled: false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: armitage-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.89.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rustam Ibragimov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.89.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.89.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.7.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.7.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: 2.7.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: 2.7.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.43.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.43.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|