rubocop-springest 0.7.2 → 0.7.3

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