chefstyle 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/config/chefstyle.yml +64 -47
- data/config/disable_all.yml +169 -131
- data/config/disabled.yml +29 -34
- data/config/enabled.yml +432 -307
- data/config/upstream.yml +537 -404
- data/lib/chefstyle/version.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f7556a1ab53ae453e093ba28ade212f4c99d782
|
4
|
+
data.tar.gz: 8657b898606ccdeeacbc62d11ba3b6d33241361a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f1f5426ef2fa82b9510742ca0254b9f4b8f97de19bc1f9dbb02b851b38c4c0a5b92be47f98b0025d57002ec291405de70f9d99d3cf0e06bd72a7b6a84e881e1
|
7
|
+
data.tar.gz: e95b36d4bd4df7760c28bfe74c4e60824f764ca52bfbfdcc216d06340481abd799dddb29921cd705d3739c5dba17d0e9b4c973d44a7fdc59c45144a6d6a6d99f
|
data/README.md
CHANGED
@@ -6,8 +6,9 @@ This is an internal style guide for chef ruby projects (chef-client,
|
|
6
6
|
ohai, mixlib-shellout, mixlib-config, etc).
|
7
7
|
|
8
8
|
It is not meant for consumption by cookbooks or for any general
|
9
|
-
purpose uses.
|
10
|
-
|
9
|
+
purpose uses. **Chef Users and Customers Should Generally Not Use
|
10
|
+
This Tool and Should Use Cookstyle**. It is not intended for any audience
|
11
|
+
outside of chef core ruby development.
|
11
12
|
|
12
13
|
It will conflict with rubocop defaults, cookstyle, finstyle and other
|
13
14
|
ruby style guides entirely by design. The point is that the core
|
data/config/chefstyle.yml
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.3
|
3
|
+
|
1
4
|
#
|
2
5
|
# Bundler
|
3
6
|
#
|
@@ -235,9 +238,9 @@ Metrics/PerceivedComplexity:
|
|
235
238
|
# Style
|
236
239
|
#
|
237
240
|
|
238
|
-
|
241
|
+
Layout/AccessModifierIndentation:
|
239
242
|
Enabled: true
|
240
|
-
|
243
|
+
Layout/AlignHash:
|
241
244
|
Enabled: true
|
242
245
|
Style/AndOr:
|
243
246
|
Enabled: true
|
@@ -265,23 +268,23 @@ Style/DefWithParentheses:
|
|
265
268
|
Enabled: true
|
266
269
|
Style/EachForSimpleLoop:
|
267
270
|
Enabled: true
|
268
|
-
|
271
|
+
Layout/ElseAlignment:
|
269
272
|
Enabled: true
|
270
|
-
|
273
|
+
Layout/EmptyLineBetweenDefs:
|
271
274
|
Enabled: true
|
272
|
-
|
275
|
+
Layout/EmptyLines:
|
273
276
|
Enabled: true
|
274
|
-
|
277
|
+
Layout/EmptyLinesAroundAccessModifier:
|
275
278
|
Enabled: true
|
276
|
-
|
279
|
+
Layout/EmptyLinesAroundMethodBody:
|
277
280
|
Enabled: true
|
278
281
|
Style/EndBlock:
|
279
282
|
Enabled: true
|
280
|
-
|
283
|
+
Layout/EndOfLine:
|
281
284
|
Enabled: true
|
282
285
|
Style/EvenOdd:
|
283
286
|
Enabled: true
|
284
|
-
|
287
|
+
Layout/ExtraSpacing:
|
285
288
|
Enabled: true
|
286
289
|
Style/FlipFlop:
|
287
290
|
Enabled: true
|
@@ -293,21 +296,21 @@ Style/IfUnlessModifierOfIfUnless:
|
|
293
296
|
Enabled: true
|
294
297
|
Style/IfWithSemicolon:
|
295
298
|
Enabled: true
|
296
|
-
|
299
|
+
Layout/IndentAssignment:
|
297
300
|
Enabled: true
|
298
|
-
|
301
|
+
Layout/IndentationConsistency:
|
299
302
|
Enabled: true
|
300
|
-
|
303
|
+
Layout/IndentationWidth:
|
301
304
|
Enabled: true
|
302
305
|
Style/InfiniteLoop:
|
303
306
|
Enabled: true
|
304
|
-
|
307
|
+
Layout/InitialIndentation:
|
305
308
|
Enabled: true
|
306
309
|
Style/LambdaCall:
|
307
310
|
Enabled: true
|
308
311
|
Style/MethodDefParentheses:
|
309
312
|
Enabled: true
|
310
|
-
|
313
|
+
Layout/MultilineBlockLayout:
|
311
314
|
Enabled: true
|
312
315
|
Style/MultilineIfModifier:
|
313
316
|
Enabled: true
|
@@ -315,9 +318,9 @@ Style/MultilineIfThen:
|
|
315
318
|
Enabled: true
|
316
319
|
Style/MultilineMemoization:
|
317
320
|
Enabled: true
|
318
|
-
|
321
|
+
Layout/MultilineMethodDefinitionBraceLayout:
|
319
322
|
Enabled: true
|
320
|
-
|
323
|
+
Layout/MultilineOperationIndentation:
|
321
324
|
Enabled: true
|
322
325
|
EnforcedStyle: indented
|
323
326
|
Style/MultilineTernaryOperator:
|
@@ -364,14 +367,21 @@ Style/PercentLiteralDelimiters:
|
|
364
367
|
'%x': '{}'
|
365
368
|
Style/PercentQLiterals:
|
366
369
|
Enabled: true
|
370
|
+
Style/RedundantBegin:
|
371
|
+
Enabled: true
|
367
372
|
Style/RedundantException:
|
368
373
|
Enabled: true
|
369
374
|
Style/RedundantFreeze:
|
370
375
|
Enabled: true
|
371
|
-
Style/
|
376
|
+
Style/RedundantReturn:
|
372
377
|
Enabled: true
|
373
|
-
Style/
|
378
|
+
Style/RedundantSelf:
|
374
379
|
Enabled: true
|
380
|
+
Layout/RescueEnsureAlignment:
|
381
|
+
Enabled: true
|
382
|
+
# temporarily disabled, but we should do this
|
383
|
+
Style/SafeNavigation:
|
384
|
+
Enabled: false
|
375
385
|
Style/SelfAssignment:
|
376
386
|
Enabled: true
|
377
387
|
Style/Semicolon:
|
@@ -381,39 +391,39 @@ Style/Semicolon:
|
|
381
391
|
Style/SignalException:
|
382
392
|
EnforcedStyle: only_raise
|
383
393
|
Enabled: true
|
384
|
-
|
394
|
+
Layout/SpaceAfterColon:
|
385
395
|
Enabled: true
|
386
|
-
|
396
|
+
Layout/SpaceAfterComma:
|
387
397
|
Enabled: true
|
388
|
-
|
398
|
+
Layout/SpaceAfterMethodName:
|
389
399
|
Enabled: true
|
390
|
-
|
400
|
+
Layout/SpaceAfterSemicolon:
|
391
401
|
Enabled: true
|
392
|
-
|
402
|
+
Layout/SpaceAroundBlockParameters:
|
393
403
|
Enabled: true
|
394
|
-
|
404
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
395
405
|
Enabled: true
|
396
|
-
|
406
|
+
Layout/SpaceAroundOperators:
|
397
407
|
Enabled: true
|
398
|
-
|
408
|
+
Layout/SpaceBeforeBlockBraces:
|
399
409
|
Enabled: true
|
400
|
-
|
410
|
+
Layout/SpaceBeforeComment:
|
401
411
|
Enabled: true
|
402
|
-
|
412
|
+
Layout/SpaceBeforeSemicolon:
|
403
413
|
Enabled: true
|
404
|
-
|
414
|
+
Layout/SpaceAroundKeyword:
|
405
415
|
Enabled: true
|
406
|
-
|
416
|
+
Layout/SpaceInLambdaLiteral:
|
407
417
|
Enabled: true
|
408
|
-
|
418
|
+
Layout/SpaceInsideArrayPercentLiteral:
|
409
419
|
Enabled: true
|
410
|
-
|
420
|
+
Layout/SpaceInsideBlockBraces:
|
411
421
|
Enabled: true
|
412
|
-
|
422
|
+
Layout/SpaceInsideHashLiteralBraces:
|
413
423
|
Enabled: true
|
414
|
-
|
424
|
+
Layout/SpaceInsideRangeLiteral:
|
415
425
|
Enabled: true
|
416
|
-
|
426
|
+
Layout/SpaceInsideStringInterpolation:
|
417
427
|
Enabled: true
|
418
428
|
Style/StabbyLambdaParentheses:
|
419
429
|
Enabled: true
|
@@ -427,9 +437,9 @@ Style/SymbolLiteral:
|
|
427
437
|
Enabled: true
|
428
438
|
Style/StringMethods:
|
429
439
|
Enabled: true
|
430
|
-
|
440
|
+
Layout/Tab:
|
431
441
|
Enabled: true
|
432
|
-
|
442
|
+
Layout/TrailingBlankLines:
|
433
443
|
Enabled: true
|
434
444
|
Style/TrailingCommaInArguments:
|
435
445
|
Enabled: true
|
@@ -439,7 +449,7 @@ Style/TrailingCommaInLiteral:
|
|
439
449
|
EnforcedStyleForMultiline: comma
|
440
450
|
Style/TrailingUnderscoreVariable:
|
441
451
|
Enabled: true
|
442
|
-
|
452
|
+
Layout/TrailingWhitespace:
|
443
453
|
Enabled: true
|
444
454
|
Style/UnneededCapitalW:
|
445
455
|
Enabled: true
|
@@ -462,6 +472,10 @@ Style/WordArray:
|
|
462
472
|
# Disabled Style
|
463
473
|
#
|
464
474
|
|
475
|
+
# FIXME: we need to enable this
|
476
|
+
Style/FrozenStringLiteralComment:
|
477
|
+
Enabled: false
|
478
|
+
|
465
479
|
# As of this commit we have 686 modules and classes without docs.
|
466
480
|
# This is a cop that we /should/ have enabled, but tactically we can't really enable.
|
467
481
|
Style/Documentation:
|
@@ -470,23 +484,23 @@ Style/DocumentationMethod:
|
|
470
484
|
Enabled: false
|
471
485
|
|
472
486
|
# this makes whitespace formatting of DSL code impossible
|
473
|
-
|
487
|
+
Layout/SpaceBeforeFirstArg:
|
474
488
|
Enabled: false
|
475
489
|
|
476
490
|
# whitespace in expressions is useful to enhance readability
|
477
|
-
|
491
|
+
Layout/SpaceInsideBrackets:
|
478
492
|
Enabled: false
|
479
|
-
|
493
|
+
Layout/SpaceInsideParens:
|
480
494
|
Enabled: false
|
481
|
-
|
495
|
+
Layout/SpaceInsidePercentLiteralDelimiters:
|
482
496
|
Enabled: false
|
483
497
|
|
484
498
|
# more whitespace cops that we allow since they can enhance readability
|
485
|
-
|
499
|
+
Layout/EmptyLinesAroundBlockBody:
|
486
500
|
Enabled: false
|
487
|
-
|
501
|
+
Layout/EmptyLinesAroundClassBody:
|
488
502
|
Enabled: false
|
489
|
-
|
503
|
+
Layout/EmptyLinesAroundModuleBody:
|
490
504
|
Enabled: false
|
491
505
|
|
492
506
|
# double negation is perfectly idiomatic ruby
|
@@ -504,7 +518,7 @@ Style/Encoding:
|
|
504
518
|
Enabled: false
|
505
519
|
|
506
520
|
# Dan is -1 on this one: https://github.com/chef/chef/pull/4526#issuecomment-179950045
|
507
|
-
|
521
|
+
Layout/IndentHash:
|
508
522
|
Enabled: false
|
509
523
|
|
510
524
|
# This is overly aggressive and autofix broke stuff, would need to exclude classes
|
@@ -538,7 +552,7 @@ Style/EmptyCaseCondition:
|
|
538
552
|
Enabled: false
|
539
553
|
|
540
554
|
# This didn't quite do what we need
|
541
|
-
|
555
|
+
Layout/MultilineArrayBraceLayout:
|
542
556
|
Enabled: false
|
543
557
|
|
544
558
|
# This rule isn't smart enough to figure out accessors vs. things that set stuff on the system (e.g. set_member method in group providers)
|
@@ -549,3 +563,6 @@ Style/AccessorMethodName:
|
|
549
563
|
Style/PerlBackrefs:
|
550
564
|
Enabled: false
|
551
565
|
|
566
|
+
# This has an annoying auto-fix which fails to `require "english"` and then fails silently
|
567
|
+
Style/SpecialGlobalVars:
|
568
|
+
Enabled: false
|
data/config/disable_all.yml
CHANGED
@@ -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/
|
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/
|
474
|
+
Style/MixinGrouping:
|
385
475
|
Enabled: false
|
386
|
-
Style/
|
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:
|