cookstyle 1.4.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b87c184f04afdc46a542bac5e656a77d3da55e0
4
- data.tar.gz: c7f9c0de9d62096c4d2a95de77cbedbb120498d0
3
+ metadata.gz: 56764f5bd49125cb2b9d10fe31cf0194cfb3efaa
4
+ data.tar.gz: 8cd65c0bf9bdba6e9ab5964fe55ad2c0874fe0bd
5
5
  SHA512:
6
- metadata.gz: 19eb2775c35e80f6babc7e174fbfc2db4e5e5045943af2be3bcf8e1f91679c52af4388cea18f3755ec53e8b19aff5a3be0a5a9b5d628713ac8ac9da2404ffa1d
7
- data.tar.gz: 2cae0ec829a8aa010756d30ec1ac188dbddad0cdc52c249c897b33e211e0512329695948b4fabeaa047ce2ae488d5bafec397b572f92393ab226e93709d7bd2d
6
+ metadata.gz: da17973f25b5b5ff2a24b87f5c257cd170f2886e5453b349aa0864b81ade5e118a0fce9da2e263f53fc6d3ba80c747fb17c7b2a9cc48fd68508d8e7cb964928e
7
+ data.tar.gz: 7fb7ecc3d3c6e8996c22e7dc7aaf9a36c8155e174ee55ea7250256da845da170abd845f89cad30445c51f42f805eb9eda05c96ad624a8020266468c77341707f
@@ -1,5 +1,16 @@
1
1
  # Cookstyle Changelog
2
2
 
3
+ ## 2.0.0 (2017-05-31)
4
+
5
+ ### Security Update
6
+
7
+ Rubocop has been upgraded from 0.47.1 to 0.49.1 to resolve <http://www.cvedetails.com/cve/CVE-2017-8418/>. Unfortunately between these versions a large number of rules were moved from the style namespace to the layout namespace. If you previously enabled/disabled whitespace or layout related rules in your own .rubocop.yml there is a good chance you'll need to update your config.
8
+
9
+ ### Newly Enabled Cops:
10
+
11
+ - Style/YodaCondition which alerts on backwards and confusing condition logic
12
+ - Layout/EmptyLinesAroundExceptionHandlingKeywords which makes our empty line policy more consistent when using exception handling
13
+
3
14
  ## 1.4.0 (2017-05-30)
4
15
 
5
16
  - Our configuration of Lint/AmbiguousRegexpLiteral now ignores files in the test dir even if you run Cookstyle against a chef-repo directory instead of individual cookbook directories.
data/README.md CHANGED
@@ -16,7 +16,7 @@ The project itself is a derivative of [finstyle](https://github.com/fnichol/fins
16
16
 
17
17
  This is designed to allow bumping the rubocop engine while keeping backwards compatibility with the config and not requiring all the cookbooks to update.
18
18
 
19
- The [cookstyle_base.yml](https://github.com/chef/cookstyle/blob/master/config/cookstyle_base.yml) file is (essentially) the enabled.yml file from 0.37.2 (as of this writing) which is applied on top of 0.46.0 with all the rules disabled. It pins the default enabled set to 0.37.2 compatibility while running under the 0.46.0 engine.
19
+ The [cookstyle_base.yml](https://github.com/chef/cookstyle/blob/master/config/cookstyle_base.yml) file is (essentially) the enabled.yml file from 0.37.2 (as of this writing) which is applied on top of 0.49.1 with all the rules disabled. It pins the default enabled set to 0.37.2 compatibility while running under the 0.49.1 engine.
20
20
 
21
21
  There is no rake task for updating the `cookstyle_base.yml` file. It was generated by hand -- the Description and other fields need to be dropped out of it.
22
22
 
@@ -14,7 +14,7 @@ Style/FileName:
14
14
  Enabled: false
15
15
  Style/Alias:
16
16
  Enabled: false
17
- Style/SpaceBeforeFirstArg:
17
+ Layout/SpaceBeforeFirstArg:
18
18
  Enabled: false
19
19
  Style/ClassAndModuleChildren:
20
20
  Enabled: false
@@ -51,7 +51,7 @@ Style/NumericLiterals:
51
51
  # This often triggers no matter what you do with inspec/serverspec matchers
52
52
  Lint/AmbiguousRegexpLiteral:
53
53
  Exclude:
54
- - '**/*/test/**/*'
54
+ - '**/test/**/*'
55
55
 
56
56
  # some names are not ascii and this prevents copyright comments
57
57
  Style/AsciiComments:
@@ -103,7 +103,7 @@ Style/NumericPredicate:
103
103
  EnforcedStyle: comparison
104
104
 
105
105
  # this is bad %w(something another_thing one_more)
106
- Style/SpaceInsideArrayPercentLiteral:
106
+ Layout/SpaceInsideArrayPercentLiteral:
107
107
  Enabled: true
108
108
 
109
109
  # disable this until there's an autocorrect (0.47 has one)
@@ -117,3 +117,24 @@ Bundler/DuplicatedGem:
117
117
  # This results in very confusing code to read with little perf benefit
118
118
  Performance/Casecmp:
119
119
  Enabled: false
120
+
121
+ # maintain the previous array behavior in previous cookstyle releases
122
+ Style/PercentLiteralDelimiters:
123
+ PreferredDelimiters:
124
+ '%': ()
125
+ '%i': ()
126
+ '%I': ()
127
+ '%q': ()
128
+ '%Q': ()
129
+ '%r': '{}'
130
+ '%s': ()
131
+ '%w': ()
132
+ '%W': ()
133
+ '%x': ()
134
+
135
+ # backwards conditions are hard to read
136
+ Style/YodaCondition:
137
+ Enabled: true
138
+
139
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
140
+ Enabled: true
@@ -1,14 +1,14 @@
1
- Style/AccessModifierIndentation:
1
+ Layout/AccessModifierIndentation:
2
2
  Enabled: true
3
3
  Style/AccessorMethodName:
4
4
  Enabled: true
5
5
  Style/Alias:
6
6
  Enabled: true
7
- Style/AlignArray:
7
+ Layout/AlignArray:
8
8
  Enabled: true
9
- Style/AlignHash:
9
+ Layout/AlignHash:
10
10
  Enabled: true
11
- Style/AlignParameters:
11
+ Layout/AlignParameters:
12
12
  Enabled: true
13
13
  Style/AndOr:
14
14
  Enabled: true
@@ -26,7 +26,7 @@ Style/BarePercentLiterals:
26
26
  Enabled: true
27
27
  Style/BlockComments:
28
28
  Enabled: true
29
- Style/BlockEndNewline:
29
+ Layout/BlockEndNewline:
30
30
  Enabled: true
31
31
  Style/BlockDelimiters:
32
32
  Enabled: true
@@ -34,7 +34,7 @@ Style/BracesAroundHashParameters:
34
34
  Enabled: true
35
35
  Style/CaseEquality:
36
36
  Enabled: true
37
- Style/CaseIndentation:
37
+ Layout/CaseIndentation:
38
38
  Enabled: true
39
39
  Style/CharacterLiteral:
40
40
  Enabled: true
@@ -48,7 +48,7 @@ Style/ClassMethods:
48
48
  Enabled: true
49
49
  Style/ClassVars:
50
50
  Enabled: true
51
- Style/ClosingParenthesisIndentation:
51
+ Layout/ClosingParenthesisIndentation:
52
52
  Enabled: true
53
53
  Style/ColonMethodCall:
54
54
  Enabled: true
@@ -56,7 +56,7 @@ Style/CommandLiteral:
56
56
  Enabled: true
57
57
  Style/CommentAnnotation:
58
58
  Enabled: true
59
- Style/CommentIndentation:
59
+ Layout/CommentIndentation:
60
60
  Enabled: true
61
61
  Style/ConditionalAssignment:
62
62
  Enabled: true
@@ -68,45 +68,45 @@ Style/DeprecatedHashMethods:
68
68
  Enabled: true
69
69
  Style/Documentation:
70
70
  Enabled: true
71
- Style/DotPosition:
71
+ Layout/DotPosition:
72
72
  Enabled: true
73
73
  Style/EachWithObject:
74
74
  Enabled: true
75
- Style/ElseAlignment:
75
+ Layout/ElseAlignment:
76
76
  Enabled: true
77
77
  Style/EmptyElse:
78
78
  Enabled: true
79
- Style/EmptyLineBetweenDefs:
79
+ Layout/EmptyLineBetweenDefs:
80
80
  Enabled: true
81
- Style/EmptyLines:
81
+ Layout/EmptyLines:
82
82
  Enabled: true
83
- Style/EmptyLinesAroundAccessModifier:
83
+ Layout/EmptyLinesAroundAccessModifier:
84
84
  Enabled: true
85
- Style/EmptyLinesAroundBlockBody:
85
+ Layout/EmptyLinesAroundBlockBody:
86
86
  Enabled: true
87
- Style/EmptyLinesAroundClassBody:
87
+ Layout/EmptyLinesAroundClassBody:
88
88
  Enabled: true
89
- Style/EmptyLinesAroundModuleBody:
89
+ Layout/EmptyLinesAroundModuleBody:
90
90
  Enabled: true
91
- Style/EmptyLinesAroundMethodBody:
91
+ Layout/EmptyLinesAroundMethodBody:
92
92
  Enabled: true
93
93
  Style/EmptyLiteral:
94
94
  Enabled: true
95
95
  Style/EndBlock:
96
96
  Enabled: true
97
- Style/EndOfLine:
97
+ Layout/EndOfLine:
98
98
  Enabled: true
99
99
  Style/EvenOdd:
100
100
  Enabled: true
101
- Style/ExtraSpacing:
101
+ Layout/ExtraSpacing:
102
102
  Enabled: true
103
103
  Style/FileName:
104
104
  Enabled: true
105
105
  Style/FrozenStringLiteralComment:
106
106
  Enabled: true
107
- Style/InitialIndentation:
107
+ Layout/InitialIndentation:
108
108
  Enabled: true
109
- Style/FirstParameterIndentation:
109
+ Layout/FirstParameterIndentation:
110
110
  Enabled: true
111
111
  Style/FlipFlop:
112
112
  Enabled: true
@@ -126,17 +126,17 @@ Style/IfUnlessModifier:
126
126
  Enabled: true
127
127
  Style/IfWithSemicolon:
128
128
  Enabled: true
129
- Style/IndentationConsistency:
129
+ Layout/IndentationConsistency:
130
130
  Enabled: true
131
- Style/IndentationWidth:
131
+ Layout/IndentationWidth:
132
132
  Enabled: true
133
133
  Style/IdenticalConditionalBranches:
134
134
  Enabled: true
135
- Style/IndentArray:
135
+ Layout/IndentArray:
136
136
  Enabled: true
137
- Style/IndentAssignment:
137
+ Layout/IndentAssignment:
138
138
  Enabled: true
139
- Style/IndentHash:
139
+ Layout/IndentHash:
140
140
  Enabled: true
141
141
  Style/InfiniteLoop:
142
142
  Enabled: true
@@ -144,7 +144,7 @@ Style/Lambda:
144
144
  Enabled: true
145
145
  Style/LambdaCall:
146
146
  Enabled: true
147
- Style/LeadingCommentSpace:
147
+ Layout/LeadingCommentSpace:
148
148
  Enabled: true
149
149
  Style/LineEndConcatenation:
150
150
  Enabled: true
@@ -158,13 +158,13 @@ Style/ModuleFunction:
158
158
  Enabled: true
159
159
  Style/MultilineBlockChain:
160
160
  Enabled: true
161
- Style/MultilineBlockLayout:
161
+ Layout/MultilineBlockLayout:
162
162
  Enabled: true
163
163
  Style/MultilineIfThen:
164
164
  Enabled: true
165
- Style/MultilineMethodCallIndentation:
165
+ Layout/MultilineMethodCallIndentation:
166
166
  Enabled: true
167
- Style/MultilineOperationIndentation:
167
+ Layout/MultilineOperationIndentation:
168
168
  Enabled: true
169
169
  Style/MultilineTernaryOperator:
170
170
  Enabled: true
@@ -226,7 +226,7 @@ Style/RedundantSelf:
226
226
  Enabled: true
227
227
  Style/RegexpLiteral:
228
228
  Enabled: true
229
- Style/RescueEnsureAlignment:
229
+ Layout/RescueEnsureAlignment:
230
230
  Enabled: true
231
231
  Style/RescueModifier:
232
232
  Enabled: true
@@ -240,45 +240,45 @@ Style/SingleLineBlockParams:
240
240
  Enabled: true
241
241
  Style/SingleLineMethods:
242
242
  Enabled: true
243
- Style/SpaceBeforeFirstArg:
243
+ Layout/SpaceBeforeFirstArg:
244
244
  Enabled: true
245
- Style/SpaceAfterColon:
245
+ Layout/SpaceAfterColon:
246
246
  Enabled: true
247
- Style/SpaceAfterComma:
247
+ Layout/SpaceAfterComma:
248
248
  Enabled: true
249
- Style/SpaceAfterMethodName:
249
+ Layout/SpaceAfterMethodName:
250
250
  Enabled: true
251
- Style/SpaceAfterNot:
251
+ Layout/SpaceAfterNot:
252
252
  Enabled: true
253
- Style/SpaceAfterSemicolon:
253
+ Layout/SpaceAfterSemicolon:
254
254
  Enabled: true
255
- Style/SpaceBeforeBlockBraces:
255
+ Layout/SpaceBeforeBlockBraces:
256
256
  Enabled: true
257
- Style/SpaceBeforeComma:
257
+ Layout/SpaceBeforeComma:
258
258
  Enabled: true
259
- Style/SpaceBeforeComment:
259
+ Layout/SpaceBeforeComment:
260
260
  Enabled: true
261
- Style/SpaceBeforeSemicolon:
261
+ Layout/SpaceBeforeSemicolon:
262
262
  Enabled: true
263
- Style/SpaceInsideBlockBraces:
263
+ Layout/SpaceInsideBlockBraces:
264
264
  Enabled: true
265
- Style/SpaceAroundBlockParameters:
265
+ Layout/SpaceAroundBlockParameters:
266
266
  Enabled: true
267
- Style/SpaceAroundEqualsInParameterDefault:
267
+ Layout/SpaceAroundEqualsInParameterDefault:
268
268
  Enabled: true
269
- Style/SpaceAroundKeyword:
269
+ Layout/SpaceAroundKeyword:
270
270
  Enabled: true
271
- Style/SpaceAroundOperators:
271
+ Layout/SpaceAroundOperators:
272
272
  Enabled: true
273
- Style/SpaceInsideBrackets:
273
+ Layout/SpaceInsideBrackets:
274
274
  Enabled: true
275
- Style/SpaceInsideHashLiteralBraces:
275
+ Layout/SpaceInsideHashLiteralBraces:
276
276
  Enabled: true
277
- Style/SpaceInsideParens:
277
+ Layout/SpaceInsideParens:
278
278
  Enabled: true
279
- Style/SpaceInsideRangeLiteral:
279
+ Layout/SpaceInsideRangeLiteral:
280
280
  Enabled: true
281
- Style/SpaceInsideStringInterpolation:
281
+ Layout/SpaceInsideStringInterpolation:
282
282
  Enabled: true
283
283
  Style/SpecialGlobalVars:
284
284
  Enabled: true
@@ -294,15 +294,15 @@ Style/SymbolLiteral:
294
294
  Enabled: true
295
295
  Style/SymbolProc:
296
296
  Enabled: true
297
- Style/Tab:
297
+ Layout/Tab:
298
298
  Enabled: true
299
- Style/TrailingBlankLines:
299
+ Layout/TrailingBlankLines:
300
300
  Enabled: true
301
301
  Style/TrailingCommaInArguments:
302
302
  Enabled: true
303
303
  Style/TrailingCommaInLiteral:
304
304
  Enabled: true
305
- Style/TrailingWhitespace:
305
+ Layout/TrailingWhitespace:
306
306
  Enabled: true
307
307
  Style/TrivialAccessors:
308
308
  Enabled: true
@@ -3,6 +3,148 @@ Bundler/DuplicatedGem:
3
3
  Enabled: false
4
4
  Bundler/OrderedGems:
5
5
  Enabled: false
6
+ Layout/AccessModifierIndentation:
7
+ Enabled: false
8
+ Layout/AlignArray:
9
+ Enabled: false
10
+ Layout/AlignHash:
11
+ Enabled: false
12
+ Layout/AlignParameters:
13
+ Enabled: false
14
+ Layout/BlockEndNewline:
15
+ Enabled: false
16
+ Layout/CaseIndentation:
17
+ Enabled: false
18
+ Layout/ClosingParenthesisIndentation:
19
+ Enabled: false
20
+ Layout/CommentIndentation:
21
+ Enabled: false
22
+ Layout/DotPosition:
23
+ Enabled: false
24
+ Layout/ElseAlignment:
25
+ Enabled: false
26
+ Layout/EmptyLineAfterMagicComment:
27
+ Enabled: false
28
+ Layout/EmptyLineBetweenDefs:
29
+ Enabled: false
30
+ Layout/EmptyLinesAroundAccessModifier:
31
+ Enabled: false
32
+ Layout/EmptyLinesAroundBeginBody:
33
+ Enabled: false
34
+ Layout/EmptyLinesAroundBlockBody:
35
+ Enabled: false
36
+ Layout/EmptyLinesAroundClassBody:
37
+ Enabled: false
38
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
39
+ Enabled: false
40
+ Layout/EmptyLinesAroundMethodBody:
41
+ Enabled: false
42
+ Layout/EmptyLinesAroundModuleBody:
43
+ Enabled: false
44
+ Layout/EmptyLines:
45
+ Enabled: false
46
+ Layout/EndOfLine:
47
+ Enabled: false
48
+ Layout/ExtraSpacing:
49
+ Enabled: false
50
+ Layout/FirstArrayElementLineBreak:
51
+ Enabled: false
52
+ Layout/FirstHashElementLineBreak:
53
+ Enabled: false
54
+ Layout/FirstMethodArgumentLineBreak:
55
+ Enabled: false
56
+ Layout/FirstMethodParameterLineBreak:
57
+ Enabled: false
58
+ Layout/FirstParameterIndentation:
59
+ Enabled: false
60
+ Layout/IndentArray:
61
+ Enabled: false
62
+ Layout/IndentAssignment:
63
+ Enabled: false
64
+ Layout/IndentationConsistency:
65
+ Enabled: false
66
+ Layout/IndentationWidth:
67
+ Enabled: false
68
+ Layout/IndentHash:
69
+ Enabled: false
70
+ Layout/IndentHeredoc:
71
+ Enabled: false
72
+ Layout/InitialIndentation:
73
+ Enabled: false
74
+ Layout/LeadingCommentSpace:
75
+ Enabled: false
76
+ Layout/MultilineArrayBraceLayout:
77
+ Enabled: false
78
+ Layout/MultilineAssignmentLayout:
79
+ Enabled: false
80
+ Layout/MultilineBlockLayout:
81
+ Enabled: false
82
+ Layout/MultilineHashBraceLayout:
83
+ Enabled: false
84
+ Layout/MultilineMethodCallBraceLayout:
85
+ Enabled: false
86
+ Layout/MultilineMethodCallIndentation:
87
+ Enabled: false
88
+ Layout/MultilineMethodDefinitionBraceLayout:
89
+ Enabled: false
90
+ Layout/MultilineOperationIndentation:
91
+ Enabled: false
92
+ Layout/RescueEnsureAlignment:
93
+ Enabled: false
94
+ Layout/SpaceAfterColon:
95
+ Enabled: false
96
+ Layout/SpaceAfterComma:
97
+ Enabled: false
98
+ Layout/SpaceAfterMethodName:
99
+ Enabled: false
100
+ Layout/SpaceAfterNot:
101
+ Enabled: false
102
+ Layout/SpaceAfterSemicolon:
103
+ Enabled: false
104
+ Layout/SpaceAroundBlockParameters:
105
+ Enabled: false
106
+ Layout/SpaceAroundEqualsInParameterDefault:
107
+ Enabled: false
108
+ Layout/SpaceAroundKeyword:
109
+ Enabled: false
110
+ Layout/SpaceAroundOperators:
111
+ Enabled: false
112
+ Layout/SpaceBeforeBlockBraces:
113
+ Enabled: false
114
+ Layout/SpaceBeforeComma:
115
+ Enabled: false
116
+ Layout/SpaceBeforeComment:
117
+ Enabled: false
118
+ Layout/SpaceBeforeFirstArg:
119
+ Enabled: false
120
+ Layout/SpaceBeforeSemicolon:
121
+ Enabled: false
122
+ Layout/SpaceInLambdaLiteral:
123
+ Enabled: false
124
+ Layout/SpaceInsideArrayPercentLiteral:
125
+ Enabled: false
126
+ Layout/SpaceInsideBlockBraces:
127
+ Enabled: false
128
+ Layout/SpaceInsideBrackets:
129
+ Enabled: false
130
+ Layout/SpaceInsideHashLiteralBraces:
131
+ Enabled: false
132
+ Layout/SpaceInsideParens:
133
+ Enabled: false
134
+ Layout/SpaceInsidePercentLiteralDelimiters:
135
+ Enabled: false
136
+ Layout/SpaceInsideRangeLiteral:
137
+ Enabled: false
138
+ Layout/SpaceInsideStringInterpolation:
139
+ Enabled: false
140
+ Layout/Tab:
141
+ Enabled: false
142
+ Layout/TrailingBlankLines:
143
+ Enabled: false
144
+ Layout/TrailingWhitespace:
145
+ Enabled: false
146
+ Lint/AmbiguousBlockAssociation:
147
+ Enabled: false
6
148
  Lint/AmbiguousOperator:
7
149
  Enabled: false
8
150
  Lint/AmbiguousRegexpLiteral:
@@ -85,8 +227,12 @@ Lint/RequireParentheses:
85
227
  Enabled: false
86
228
  Lint/RescueException:
87
229
  Enabled: false
230
+ Lint/RescueType:
231
+ Enabled: false
88
232
  Lint/SafeNavigationChain:
89
233
  Enabled: false
234
+ Lint/ScriptPermission:
235
+ Enabled: false
90
236
  Lint/ShadowedException:
91
237
  Enabled: false
92
238
  Lint/ShadowingOuterLocalVariable:
@@ -139,6 +285,8 @@ Metrics/ParameterLists:
139
285
  Enabled: false
140
286
  Metrics/PerceivedComplexity:
141
287
  Enabled: false
288
+ Performance/Caller:
289
+ Enabled: false
142
290
  Performance/CaseWhenSplat:
143
291
  Enabled: false
144
292
  Performance/Casecmp:
@@ -185,18 +333,10 @@ Performance/StringReplacement:
185
333
  Enabled: false
186
334
  Performance/TimesMap:
187
335
  Enabled: false
188
- Style/AccessModifierIndentation:
189
- Enabled: false
190
336
  Style/AccessorMethodName:
191
337
  Enabled: false
192
338
  Style/Alias:
193
339
  Enabled: false
194
- Style/AlignArray:
195
- Enabled: false
196
- Style/AlignHash:
197
- Enabled: false
198
- Style/AlignParameters:
199
- Enabled: false
200
340
  Style/AndOr:
201
341
  Enabled: false
202
342
  Style/ArrayJoin:
@@ -217,14 +357,10 @@ Style/BlockComments:
217
357
  Enabled: false
218
358
  Style/BlockDelimiters:
219
359
  Enabled: false
220
- Style/BlockEndNewline:
221
- Enabled: false
222
360
  Style/BracesAroundHashParameters:
223
361
  Enabled: false
224
362
  Style/CaseEquality:
225
363
  Enabled: false
226
- Style/CaseIndentation:
227
- Enabled: false
228
364
  Style/CharacterLiteral:
229
365
  Enabled: false
230
366
  Style/ClassAndModuleCamelCase:
@@ -237,8 +373,6 @@ Style/ClassMethods:
237
373
  Enabled: false
238
374
  Style/ClassVars:
239
375
  Enabled: false
240
- Style/ClosingParenthesisIndentation:
241
- Enabled: false
242
376
  Style/CollectionMethods:
243
377
  Enabled: false
244
378
  Style/ColonMethodCall:
@@ -247,8 +381,6 @@ Style/CommandLiteral:
247
381
  Enabled: false
248
382
  Style/CommentAnnotation:
249
383
  Enabled: false
250
- Style/CommentIndentation:
251
- Enabled: false
252
384
  Style/ConditionalAssignment:
253
385
  Enabled: false
254
386
  Style/ConstantName:
@@ -263,34 +395,16 @@ Style/DocumentationMethod:
263
395
  Enabled: false
264
396
  Style/Documentation:
265
397
  Enabled: false
266
- Style/DotPosition:
267
- Enabled: false
268
398
  Style/DoubleNegation:
269
399
  Enabled: false
270
400
  Style/EachForSimpleLoop:
271
401
  Enabled: false
272
402
  Style/EachWithObject:
273
403
  Enabled: false
274
- Style/ElseAlignment:
275
- Enabled: false
276
404
  Style/EmptyCaseCondition:
277
405
  Enabled: false
278
406
  Style/EmptyElse:
279
407
  Enabled: false
280
- Style/EmptyLineBetweenDefs:
281
- Enabled: false
282
- Style/EmptyLines:
283
- Enabled: false
284
- Style/EmptyLinesAroundAccessModifier:
285
- Enabled: false
286
- Style/EmptyLinesAroundBlockBody:
287
- Enabled: false
288
- Style/EmptyLinesAroundClassBody:
289
- Enabled: false
290
- Style/EmptyLinesAroundMethodBody:
291
- Enabled: false
292
- Style/EmptyLinesAroundModuleBody:
293
- Enabled: false
294
408
  Style/EmptyLiteral:
295
409
  Enabled: false
296
410
  Style/EmptyMethod:
@@ -299,30 +413,18 @@ Style/Encoding:
299
413
  Enabled: false
300
414
  Style/EndBlock:
301
415
  Enabled: false
302
- Style/EndOfLine:
303
- Enabled: false
304
416
  Style/EvenOdd:
305
417
  Enabled: false
306
- Style/ExtraSpacing:
307
- Enabled: false
308
418
  Style/FileName:
309
419
  Enabled: false
310
- Style/FirstArrayElementLineBreak:
311
- Enabled: false
312
- Style/FirstHashElementLineBreak:
313
- Enabled: false
314
- Style/FirstMethodArgumentLineBreak:
315
- Enabled: false
316
- Style/FirstMethodParameterLineBreak:
317
- Enabled: false
318
- Style/FirstParameterIndentation:
319
- Enabled: false
320
420
  Style/FlipFlop:
321
421
  Enabled: false
322
422
  Style/For:
323
423
  Enabled: false
324
424
  Style/FormatString:
325
425
  Enabled: false
426
+ Style/FormatStringToken:
427
+ Enabled: false
326
428
  Style/FrozenStringLiteralComment:
327
429
  Enabled: false
328
430
  Style/GlobalVars:
@@ -343,19 +445,9 @@ Style/IfWithSemicolon:
343
445
  Enabled: false
344
446
  Style/ImplicitRuntimeError:
345
447
  Enabled: false
346
- Style/IndentArray:
347
- Enabled: false
348
- Style/IndentAssignment:
349
- Enabled: false
350
- Style/IndentHash:
351
- Enabled: false
352
- Style/IndentationConsistency:
353
- Enabled: false
354
- Style/IndentationWidth:
355
- Enabled: false
356
448
  Style/InfiniteLoop:
357
449
  Enabled: false
358
- Style/InitialIndentation:
450
+ Style/InverseMethods:
359
451
  Enabled: false
360
452
  Style/InlineComment:
361
453
  Enabled: false
@@ -363,8 +455,6 @@ Style/Lambda:
363
455
  Enabled: false
364
456
  Style/LambdaCall:
365
457
  Enabled: false
366
- Style/LeadingCommentSpace:
367
- Enabled: false
368
458
  Style/LineEndConcatenation:
369
459
  Enabled: false
370
460
  Style/MethodCallWithoutArgsParentheses:
@@ -381,34 +471,22 @@ Style/MethodMissing:
381
471
  Enabled: false
382
472
  Style/MissingElse:
383
473
  Enabled: false
384
- Style/ModuleFunction:
474
+ Style/MixinGrouping:
385
475
  Enabled: false
386
- Style/MultilineArrayBraceLayout:
387
- Enabled: false
388
- Style/MultilineAssignmentLayout:
476
+ Style/ModuleFunction:
389
477
  Enabled: false
390
478
  Style/MultilineBlockChain:
391
479
  Enabled: false
392
- Style/MultilineBlockLayout:
393
- Enabled: false
394
- Style/MultilineHashBraceLayout:
395
- Enabled: false
396
480
  Style/MultilineIfThen:
397
481
  Enabled: false
398
482
  Style/MultilineIfModifier:
399
483
  Enabled: false
400
484
  Style/MultilineMemoization:
401
485
  Enabled: false
402
- Style/MultilineMethodCallBraceLayout:
403
- Enabled: false
404
- Style/MultilineMethodCallIndentation:
405
- Enabled: false
406
- Style/MultilineMethodDefinitionBraceLayout:
407
- Enabled: false
408
- Style/MultilineOperationIndentation:
409
- Enabled: false
410
486
  Style/MultilineTernaryOperator:
411
487
  Enabled: false
488
+ Style/MultipleComparison:
489
+ Enabled: false
412
490
  Style/MutableConstant:
413
491
  Enabled: false
414
492
  Style/NegatedIf:
@@ -473,8 +551,6 @@ Style/RedundantSelf:
473
551
  Enabled: false
474
552
  Style/RegexpLiteral:
475
553
  Enabled: false
476
- Style/RescueEnsureAlignment:
477
- Enabled: false
478
554
  Style/RescueModifier:
479
555
  Enabled: false
480
556
  Style/SafeNavigation:
@@ -491,52 +567,6 @@ Style/SingleLineBlockParams:
491
567
  Enabled: false
492
568
  Style/SingleLineMethods:
493
569
  Enabled: false
494
- Style/SpaceAfterColon:
495
- Enabled: false
496
- Style/SpaceAfterComma:
497
- Enabled: false
498
- Style/SpaceAfterMethodName:
499
- Enabled: false
500
- Style/SpaceAfterNot:
501
- Enabled: false
502
- Style/SpaceAfterSemicolon:
503
- Enabled: false
504
- Style/SpaceAroundBlockParameters:
505
- Enabled: false
506
- Style/SpaceAroundEqualsInParameterDefault:
507
- Enabled: false
508
- Style/SpaceAroundKeyword:
509
- Enabled: false
510
- Style/SpaceAroundOperators:
511
- Enabled: false
512
- Style/SpaceBeforeBlockBraces:
513
- Enabled: false
514
- Style/SpaceBeforeComma:
515
- Enabled: false
516
- Style/SpaceBeforeComment:
517
- Enabled: false
518
- Style/SpaceBeforeFirstArg:
519
- Enabled: false
520
- Style/SpaceBeforeSemicolon:
521
- Enabled: false
522
- Style/SpaceInLambdaLiteral:
523
- Enabled: false
524
- Style/SpaceInsideArrayPercentLiteral:
525
- Enabled: false
526
- Style/SpaceInsideBlockBraces:
527
- Enabled: false
528
- Style/SpaceInsideBrackets:
529
- Enabled: false
530
- Style/SpaceInsideHashLiteralBraces:
531
- Enabled: false
532
- Style/SpaceInsideParens:
533
- Enabled: false
534
- Style/SpaceInsidePercentLiteralDelimiters:
535
- Enabled: false
536
- Style/SpaceInsideRangeLiteral:
537
- Enabled: false
538
- Style/SpaceInsideStringInterpolation:
539
- Enabled: false
540
570
  Style/SpecialGlobalVars:
541
571
  Enabled: false
542
572
  Style/StabbyLambdaParentheses:
@@ -555,20 +585,14 @@ Style/SymbolLiteral:
555
585
  Enabled: false
556
586
  Style/SymbolProc:
557
587
  Enabled: false
558
- Style/Tab:
559
- Enabled: false
560
588
  Style/TernaryParentheses:
561
589
  Enabled: false
562
- Style/TrailingBlankLines:
563
- Enabled: false
564
590
  Style/TrailingCommaInArguments:
565
591
  Enabled: false
566
592
  Style/TrailingCommaInLiteral:
567
593
  Enabled: false
568
594
  Style/TrailingUnderscoreVariable:
569
595
  Enabled: false
570
- Style/TrailingWhitespace:
571
- Enabled: false
572
596
  Style/TrivialAccessors:
573
597
  Enabled: false
574
598
  Style/UnlessElse:
@@ -593,10 +617,20 @@ Style/WhileUntilModifier:
593
617
  Enabled: false
594
618
  Style/WordArray:
595
619
  Enabled: false
620
+ Style/YodaCondition:
621
+ Enabled: false
596
622
  Style/ZeroLengthPredicate:
597
623
  Enabled: false
598
624
  Rails/ActionFilter:
599
625
  Enabled: false
626
+ Rails/ActiveSupportAliases:
627
+ Enabled: false
628
+ Rails/ApplicationJob:
629
+ Enabled: false
630
+ Rails/ApplicationRecord:
631
+ Enabled: false
632
+ Rails/Blank:
633
+ Enabled: false
600
634
  Rails/Date:
601
635
  Enabled: false
602
636
  Rails/DynamicFindBy:
@@ -627,12 +661,16 @@ Rails/Output:
627
661
  Enabled: false
628
662
  Rails/PluralizationGrammar:
629
663
  Enabled: false
664
+ Rails/Present:
665
+ Enabled: false
630
666
  Rails/ReadWriteAttribute:
631
667
  Enabled: false
632
668
  Rails/RequestReferer:
633
669
  Enabled: false
634
670
  Rails/ReversibleMigration:
635
671
  Enabled: false
672
+ Rails/RelativeDateConstant:
673
+ Enabled: false
636
674
  Rails/SafeNavigation:
637
675
  Enabled: false
638
676
  Rails/SaveBang: