rubocop-springest 0.6.8 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/config/default.yml +124 -80
  3. data/config/rails.yml +1 -1
  4. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 85992d6c84c4a2eb7ce2289bda93774671f57cff
4
- data.tar.gz: a8d2c33903b5c16644d03cfa4d02a37d18d699f0
2
+ SHA256:
3
+ metadata.gz: 7fcf9a000da728f59254364b994e1438e88de2df3c457578087c881a257af7d9
4
+ data.tar.gz: 5bf64582d6e7a5a80cacf7f7d1d9b022482ef5cfb18727fe8b0150a3028dc198
5
5
  SHA512:
6
- metadata.gz: '08e8713b7e61aba0941842e8a500f31b9e41aca26494431ed4fca4204959d489aba934fdbe3244afafac11286561f86cad58cddb44e5a30ad15dd1b9268049d1'
7
- data.tar.gz: d7ce181e14215b2a2ffaa7821690d0bdec67c92a377f767dfaa8bd4ea7e146a605a349c4a465f6cc147195e80517771daebbf31208883051448004ba074c840d
6
+ metadata.gz: 82c31dca5bcc211f9b169beb8e4d7e6e2def82ba78b4e04dc4480e53e2f97c1fce2519229f55bde53b6b6a1a3a0cae779eefe051a5eff40fa4fdc999b49868b1
7
+ data.tar.gz: f1d3a9086137994aa56e8df072746a82cf9a8bef0e515bf14f48081335a717054beab4d9c4286b3d91536b15682acfc5239eb0294ab450dcf7e9d256f0a91875
data/config/default.yml CHANGED
@@ -11,58 +11,48 @@ Bundler/DuplicatedGem:
11
11
  Bundler/OrderedGems:
12
12
  Enabled: true
13
13
 
14
- Layout/BlockEndNewline:
15
- Enabled: true
16
-
17
- Layout/EndOfLine:
14
+ Layout/AssignmentIndentation:
18
15
  Enabled: true
19
16
 
20
- Layout/InitialIndentation:
21
- Enabled: true
22
-
23
- Layout/SpaceAfterColon:
24
- Enabled: true
25
-
26
- Layout/SpaceAfterComma:
17
+ Layout/BeginEndAlignment:
27
18
  Enabled: true
28
19
 
29
- Layout/SpaceAfterMethodName:
30
- Enabled: true
31
-
32
- Layout/SpaceAfterNot:
20
+ Layout/BlockAlignment:
33
21
  Enabled: true
22
+ EnforcedStyleAlignWith: start_of_line
34
23
 
35
- Layout/SpaceAfterSemicolon:
24
+ Layout/BlockEndNewline:
36
25
  Enabled: true
37
26
 
38
- Layout/SpaceAroundBlockParameters:
27
+ Layout/CaseIndentation:
39
28
  Enabled: true
40
29
 
41
- Layout/SpaceAroundEqualsInParameterDefault:
30
+ Layout/ClosingParenthesisIndentation:
42
31
  Enabled: true
43
32
 
44
- Layout/SpaceInsideArrayPercentLiteral:
33
+ Layout/CommentIndentation:
45
34
  Enabled: true
46
35
 
47
- Layout/SpaceInsideArrayLiteralBrackets:
36
+ Layout/ConditionPosition:
48
37
  Enabled: true
49
38
 
50
- Layout/SpaceInsideParens:
39
+ Layout/DefEndAlignment:
51
40
  Enabled: true
52
41
 
53
- Layout/SpaceInsideRangeLiteral:
42
+ Layout/DotPosition:
54
43
  Enabled: true
44
+ EnforcedStyle: trailing
55
45
 
56
- Layout/Tab:
46
+ Layout/ElseAlignment:
57
47
  Enabled: true
58
48
 
59
- Layout/TrailingBlankLines:
49
+ Layout/EmptyComment:
60
50
  Enabled: true
61
51
 
62
- Layout/TrailingWhitespace:
52
+ Layout/EmptyLineAfterGuardClause:
63
53
  Enabled: true
64
54
 
65
- Layout/SpaceBeforeFirstArg:
55
+ Layout/EmptyLineAfterMagicComment:
66
56
  Enabled: true
67
57
 
68
58
  Layout/EmptyLineBetweenDefs:
@@ -73,6 +63,12 @@ Layout/EmptyLineBetweenDefs:
73
63
  Layout/EmptyLines:
74
64
  Enabled: true
75
65
 
66
+ Layout/EmptyLinesAroundAccessModifier:
67
+ Enabled: true
68
+
69
+ Layout/EmptyLinesAroundArguments:
70
+ Enabled: true
71
+
76
72
  Layout/EmptyLinesAroundBeginBody:
77
73
  Enabled: true
78
74
 
@@ -82,140 +78,185 @@ Layout/EmptyLinesAroundBlockBody:
82
78
  Layout/EmptyLinesAroundClassBody:
83
79
  Enabled: true
84
80
 
81
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
82
+ Enabled: true
83
+
85
84
  Layout/EmptyLinesAroundMethodBody:
86
85
  Enabled: true
87
86
 
88
87
  Layout/EmptyLinesAroundModuleBody:
89
88
  Enabled: true
90
89
 
91
- Layout/EmptyLinesAroundExceptionHandlingKeywords:
90
+ Layout/EndAlignment:
91
+ Enabled: true
92
+
93
+ Layout/EndOfLine:
92
94
  Enabled: true
93
95
 
94
96
  Layout/ExtraSpacing:
95
97
  Enabled: true
96
98
  AllowForAlignment: false
97
99
 
98
- Layout/DotPosition:
100
+ Layout/IndentationConsistency:
99
101
  Enabled: true
100
- EnforcedStyle: trailing
101
102
 
102
- Layout/BlockAlignment:
103
+ Layout/IndentationStyle:
103
104
  Enabled: true
104
105
 
105
- Lint/CircularArgumentReference:
106
+ Layout/IndentationWidth:
106
107
  Enabled: true
107
108
 
108
- Layout/ConditionPosition:
109
+ Layout/InitialIndentation:
109
110
  Enabled: true
110
111
 
111
- Lint/Debugger:
112
+ Layout/LeadingEmptyLines:
112
113
  Enabled: true
113
114
 
114
- Layout/DefEndAlignment:
115
+ Layout/LineLength:
116
+ Enabled: false
117
+
118
+ Layout/MultilineMethodCallIndentation:
115
119
  Enabled: true
120
+ EnforcedStyle: indented
116
121
 
117
- Layout/EndAlignment:
122
+ Layout/SpaceAfterColon:
118
123
  Enabled: true
119
124
 
120
- Lint/DeprecatedClassMethods:
125
+ Layout/SpaceAfterComma:
121
126
  Enabled: true
122
127
 
123
- Lint/DuplicateMethods:
128
+ Layout/SpaceAfterMethodName:
124
129
  Enabled: true
125
130
 
126
- Lint/DuplicatedKey:
131
+ Layout/SpaceAfterNot:
127
132
  Enabled: true
128
133
 
129
- Lint/EachWithObjectArgument:
134
+ Layout/SpaceAfterSemicolon:
130
135
  Enabled: true
131
136
 
132
- Lint/ElseLayout:
137
+ Layout/SpaceAroundBlockParameters:
133
138
  Enabled: true
134
139
 
135
- Lint/EmptyEnsure:
140
+ Layout/SpaceAroundEqualsInParameterDefault:
136
141
  Enabled: true
137
142
 
138
- Lint/EmptyInterpolation:
143
+ Layout/SpaceBeforeFirstArg:
139
144
  Enabled: true
140
145
 
141
- Lint/EndInMethod:
146
+ Layout/SpaceInsideArrayLiteralBrackets:
142
147
  Enabled: true
143
148
 
144
- Lint/EnsureReturn:
149
+ Layout/SpaceInsideArrayPercentLiteral:
145
150
  Enabled: true
146
151
 
147
- Lint/FloatOutOfRange:
152
+ Layout/SpaceInsideParens:
148
153
  Enabled: true
149
154
 
150
- Lint/FormatParameterMismatch:
155
+ Layout/SpaceInsideRangeLiteral:
151
156
  Enabled: true
152
157
 
153
- Lint/LiteralAsCondition:
158
+ Layout/TrailingEmptyLines:
154
159
  Enabled: true
155
160
 
156
- Lint/LiteralInInterpolation:
161
+ Layout/TrailingWhitespace:
157
162
  Enabled: true
158
163
 
159
- Lint/Loop:
164
+ Lint/AmbiguousOperator:
160
165
  Enabled: true
161
166
 
162
- Lint/NextWithoutAccumulator:
167
+ Lint/AmbiguousRegexpLiteral:
163
168
  Enabled: true
164
169
 
165
- Lint/RandOne:
170
+ Lint/BinaryOperatorWithIdenticalOperands:
166
171
  Enabled: true
167
172
 
168
- Lint/RequireParentheses:
173
+ Lint/CircularArgumentReference:
169
174
  Enabled: true
170
175
 
171
- Lint/RescueException:
176
+ Lint/Debugger:
172
177
  Enabled: true
173
178
 
174
- Lint/StringConversionInInterpolation:
179
+ Lint/DeprecatedClassMethods:
175
180
  Enabled: true
176
181
 
177
- Lint/UnderscorePrefixedVariableName:
182
+ Lint/DuplicateMethods:
178
183
  Enabled: true
179
184
 
180
- Lint/UnneededCopDisableDirective:
185
+ Lint/DuplicateHashKey:
181
186
  Enabled: true
182
187
 
183
- Lint/UnneededSplatExpansion:
188
+ Lint/EachWithObjectArgument:
184
189
  Enabled: true
185
190
 
186
- Lint/UnreachableCode:
191
+ Lint/ElseLayout:
187
192
  Enabled: true
188
193
 
189
- Lint/UselessComparison:
194
+ Lint/EmptyEnsure:
190
195
  Enabled: true
191
196
 
192
- Lint/UselessSetterCall:
197
+ Lint/EmptyInterpolation:
193
198
  Enabled: true
194
199
 
195
- Lint/Void:
200
+ Lint/EnsureReturn:
196
201
  Enabled: true
197
202
 
198
- Lint/AmbiguousOperator:
203
+ Lint/FloatOutOfRange:
199
204
  Enabled: true
200
205
 
201
- Lint/AmbiguousRegexpLiteral:
206
+ Lint/FormatParameterMismatch:
207
+ Enabled: true
208
+
209
+ Lint/LiteralAsCondition:
210
+ Enabled: true
211
+
212
+ Lint/LiteralInInterpolation:
202
213
  Enabled: true
203
214
 
204
- Lint/HandleExceptions:
215
+ Lint/Loop:
205
216
  Enabled: true
206
217
 
207
218
  Lint/NestedMethodDefinition:
208
219
  Enabled: true
209
220
 
221
+ Lint/NextWithoutAccumulator:
222
+ Enabled: true
223
+
210
224
  Lint/NonLocalExitFromIterator:
211
225
  Enabled: true
212
226
 
213
227
  Lint/ParenthesesAsGroupedExpression:
214
228
  Enabled: true
215
229
 
230
+ Lint/RandOne:
231
+ Enabled: true
232
+
233
+ Lint/RedundantCopDisableDirective:
234
+ Enabled: true
235
+
236
+ Lint/RedundantSplatExpansion:
237
+ Enabled: true
238
+
239
+ Lint/RedundantStringCoercion:
240
+ Enabled: true
241
+
242
+ Lint/RequireParentheses:
243
+ Enabled: true
244
+
245
+ Lint/RescueException:
246
+ Enabled: true
247
+
216
248
  Lint/ShadowingOuterLocalVariable:
217
249
  Enabled: true
218
250
 
251
+ Lint/SuppressedException:
252
+ Enabled: true
253
+
254
+ Lint/UnderscorePrefixedVariableName:
255
+ Enabled: true
256
+
257
+ Lint/UnreachableCode:
258
+ Enabled: true
259
+
219
260
  Lint/UnusedBlockArgument:
220
261
  Enabled: true
221
262
 
@@ -231,6 +272,12 @@ Lint/UselessAssignment:
231
272
  Lint/UselessElseWithoutRescue:
232
273
  Enabled: true
233
274
 
275
+ Lint/UselessSetterCall:
276
+ Enabled: true
277
+
278
+ Lint/Void:
279
+ Enabled: true
280
+
234
281
  Metrics/AbcSize:
235
282
  Enabled: false
236
283
 
@@ -247,9 +294,6 @@ Metrics/ClassLength:
247
294
  Metrics/CyclomaticComplexity:
248
295
  Enabled: false
249
296
 
250
- Metrics/LineLength:
251
- Enabled: false
252
-
253
297
  Metrics/MethodLength:
254
298
  Enabled: false
255
299
 
@@ -289,6 +333,10 @@ Performance/DoubleStartEndWith:
289
333
  Performance/EndWith:
290
334
  Enabled: true
291
335
 
336
+ Performance/FlatMap:
337
+ Enabled: true
338
+ EnabledForFlattenWithoutParams: false
339
+
292
340
  Performance/RangeInclude:
293
341
  Enabled: false
294
342
 
@@ -299,17 +347,13 @@ Performance/RedundantMerge:
299
347
  Enabled: true
300
348
  MaxKeyValuePairs: 1
301
349
 
302
- Performance/Size:
303
- Enabled: true
304
-
305
- Performance/StartWith:
350
+ Performance/ReverseEach:
306
351
  Enabled: true
307
352
 
308
- Performance/FlatMap:
353
+ Performance/Size:
309
354
  Enabled: true
310
- EnabledForFlattenWithoutParams: false
311
355
 
312
- Performance/ReverseEach:
356
+ Performance/StartWith:
313
357
  Enabled: true
314
358
 
315
359
  Performance/StringReplacement:
@@ -376,18 +420,18 @@ Style/Not:
376
420
  Style/OneLineConditional:
377
421
  Enabled: true
378
422
 
379
- Style/StabbyLambdaParentheses:
423
+ Style/RedundantSortBy:
380
424
  Enabled: true
381
425
 
382
- Style/StringLiterals:
426
+ Style/Sample:
383
427
  Enabled: true
384
- EnforcedStyle: double_quotes
385
428
 
386
- Style/Strip:
429
+ Style/StabbyLambdaParentheses:
387
430
  Enabled: true
388
431
 
389
- Style/RedundantSortBy:
432
+ Style/StringLiterals:
390
433
  Enabled: true
434
+ EnforcedStyle: double_quotes
391
435
 
392
- Style/Sample:
436
+ Style/Strip:
393
437
  Enabled: true
data/config/rails.yml CHANGED
@@ -127,7 +127,7 @@ Style/StringLiterals:
127
127
  Exclude:
128
128
  - 'app/views/**/*.erb'
129
129
 
130
- Layout/TrailingBlankLines:
130
+ Layout/TrailingEmptyLines:
131
131
  Exclude:
132
132
  - 'app/views/**/*.erb'
133
133
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-springest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Mulder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-08 00:00:00.000000000 Z
11
+ date: 2021-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -153,8 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubyforge_project:
157
- rubygems_version: 2.6.14.3
156
+ rubygems_version: 3.0.3
158
157
  signing_key:
159
158
  specification_version: 4
160
159
  summary: RuboCop Springest