simplycop 1.14.5 → 1.14.7

Sign up to get free protection for your applications and to get access to all the features.
data/.simplycop.yml CHANGED
@@ -1,7 +1,15 @@
1
1
  inherit_from:
2
2
  - .custom_simplycop.yml
3
- - .simplycop_security.yml
4
3
  - .simplycop_metaprogramming.yml
4
+ - .simplycop_bundler.yml
5
+ - .simplycop_gemspec.yml
6
+ - .simplycop_layout.yml
7
+ - .simplycop_lint.yml
8
+ - .simplycop_metrics.yml
9
+ - .simplycop_migration.yml
10
+ - .simplycop_naming.yml
11
+ - .simplycop_security.yml
12
+ - .simplycop_style.yml
5
13
 
6
14
  AllCops:
7
15
  Exclude:
@@ -20,1756 +28,3 @@ AllCops:
20
28
  MaxFilesInCache: 5000
21
29
  ExtraDetails: true
22
30
  # Adapted from: https://github.com/simplybusiness/how-we-roll/blob/master/development/RUBYSTYLEGUIDE.markdown
23
-
24
- Bundler/DuplicatedGem:
25
- Enabled: true
26
-
27
- Bundler/GemComment:
28
- Enabled: false
29
-
30
- Bundler/GemFilename:
31
- Enabled: true
32
-
33
- # To discuss: Suggest true but 103 fails on Chopin, 10 on Rater
34
- Bundler/GemVersion:
35
- Enabled: false
36
-
37
- Bundler/InsecureProtocolSource:
38
- Enabled: true
39
-
40
- Bundler/OrderedGems:
41
- Enabled: true
42
-
43
- # To discuss: Suggest true but 3 fails on Chopin, 21 on Rater
44
- Gemspec/DependencyVersion:
45
- Enabled: false
46
-
47
- # TODO: 1 autocorrectable in Rater and it would pass
48
- Gemspec/DeprecatedAttributeAssignment:
49
- Enabled: true
50
-
51
- # 2 fails on Chopin, 10 on Rater, so override if necessary
52
- Gemspec/DevelopmentDependencies:
53
- Enabled: false
54
-
55
- Gemspec/DuplicatedAssignment:
56
- Enabled: true
57
-
58
- Gemspec/OrderedDependencies:
59
- Enabled: true
60
-
61
- # TODO: Suggest true but 4 fails on Chopin, 3 on Rater, overridden to false on Chopin
62
- Gemspec/RequireMFA:
63
- Enabled: false
64
-
65
- # Will need Chopin override
66
- Gemspec/RequiredRubyVersion:
67
- Enabled: true
68
-
69
- Gemspec/RubyVersionGlobalsUsage:
70
- Enabled: true
71
-
72
- Layout/AccessModifierIndentation:
73
- Enabled: true
74
-
75
- Layout/ArgumentAlignment:
76
- Enabled: true
77
-
78
- Layout/ArrayAlignment:
79
- Enabled: true
80
-
81
- Layout/AssignmentIndentation:
82
- Enabled: true
83
-
84
- Layout/BeginEndAlignment:
85
- Enabled: true
86
-
87
- Layout/BlockAlignment:
88
- Enabled: true
89
-
90
- Layout/BlockEndNewline:
91
- Enabled: true
92
-
93
- Layout/CaseIndentation:
94
- Enabled: true
95
-
96
- # Discussion needed about preferred structure. Dozens of fails on each repo if we stick with default, all but 4 on Chopin are autocorrectable
97
- # Worth agreeing a style?
98
- Layout/ClassStructure:
99
- Enabled: false
100
-
101
- Layout/ClosingHeredocIndentation:
102
- Enabled: true
103
-
104
- Layout/ClosingParenthesisIndentation:
105
- Enabled: true
106
-
107
- Layout/CommentIndentation:
108
- Enabled: true
109
-
110
- Layout/ConditionPosition:
111
- Enabled: true
112
-
113
- Layout/DefEndAlignment:
114
- Enabled: true
115
-
116
- Layout/DotPosition:
117
- Enabled: true
118
-
119
- Layout/ElseAlignment:
120
- Enabled: true
121
-
122
- Layout/EmptyComment:
123
- Enabled: true
124
-
125
- Layout/EmptyLineAfterGuardClause:
126
- Enabled: true
127
-
128
- # Needs Chopin override
129
- Layout/EmptyLineAfterMagicComment:
130
- Enabled: true
131
-
132
- Layout/EmptyLineAfterMultilineCondition:
133
- Enabled: true
134
-
135
- Layout/EmptyLineBetweenDefs:
136
- Enabled: true
137
-
138
- Layout/EmptyLines:
139
- Enabled: true
140
-
141
- Layout/EmptyLinesAroundAccessModifier:
142
- Enabled: true
143
-
144
- Layout/EmptyLinesAroundArguments:
145
- Enabled: true
146
-
147
- Layout/EmptyLinesAroundAttributeAccessor:
148
- Enabled: true
149
-
150
- Layout/EmptyLinesAroundBeginBody:
151
- Enabled: true
152
-
153
- Layout/EmptyLinesAroundBlockBody:
154
- Enabled: true
155
-
156
- Layout/EmptyLinesAroundClassBody:
157
- Enabled: true
158
-
159
- Layout/EmptyLinesAroundExceptionHandlingKeywords:
160
- Enabled: true
161
-
162
- Layout/EmptyLinesAroundMethodBody:
163
- Enabled: true
164
-
165
- Layout/EmptyLinesAroundModuleBody:
166
- Enabled: true
167
-
168
- Layout/EndAlignment:
169
- Enabled: true
170
-
171
- Layout/EndOfLine:
172
- Enabled: true
173
-
174
- Layout/ExtraSpacing:
175
- Enabled: true
176
-
177
- Layout/FirstArgumentIndentation:
178
- Enabled: true
179
-
180
- Layout/FirstArrayElementIndentation:
181
- Enabled: true
182
-
183
- Layout/FirstArrayElementLineBreak:
184
- Enabled: true
185
-
186
- Layout/FirstHashElementIndentation:
187
- Enabled: true
188
-
189
- Layout/FirstHashElementLineBreak:
190
- Enabled: true
191
-
192
- Layout/FirstMethodArgumentLineBreak:
193
- Enabled: true
194
-
195
- # Needs Chopin override
196
- Layout/FirstMethodParameterLineBreak:
197
- Enabled: true
198
-
199
- Layout/FirstParameterIndentation:
200
- Enabled: true
201
-
202
- Layout/HashAlignment:
203
- Enabled: true
204
-
205
- Layout/HeredocArgumentClosingParenthesis:
206
- Enabled: true
207
-
208
- Layout/HeredocIndentation:
209
- Enabled: true
210
-
211
- Layout/IndentationConsistency:
212
- Enabled: true
213
-
214
- Layout/IndentationStyle:
215
- Enabled: true
216
-
217
- Layout/IndentationWidth:
218
- Enabled: true
219
-
220
- Layout/InitialIndentation:
221
- Enabled: true
222
-
223
- Layout/LeadingCommentSpace:
224
- Enabled: true
225
-
226
- Layout/LeadingEmptyLines:
227
- Enabled: true
228
-
229
- # Overridden to false in Chopin
230
- Layout/LineContinuationLeadingSpace:
231
- Enabled: true
232
-
233
- # Overridden to false in Chopin
234
- Layout/LineContinuationSpacing:
235
- Enabled: true
236
-
237
- # Overridden to false in Chopin
238
- Layout/LineEndStringConcatenationIndentation:
239
- Enabled: true
240
-
241
- # To discuss: configure line length? At default 120: 6805 fails on Chopin, 3 on Rater, 179 on CoCo
242
- # Typically overridden/"to-do"-ed
243
- Layout/LineLength:
244
- Enabled: true
245
-
246
- Layout/MultilineArrayBraceLayout:
247
- Enabled: true
248
-
249
- Layout/MultilineArrayLineBreaks:
250
- Enabled: true
251
-
252
- # To discuss: 100s of fails on each repo but autocorrectable
253
- Layout/MultilineAssignmentLayout:
254
- Enabled: false
255
-
256
- Layout/MultilineBlockLayout:
257
- Enabled: true
258
-
259
- Layout/MultilineHashBraceLayout:
260
- Enabled: true
261
-
262
- # To discuss: 100s of fails on each repo but autocorrectable gp
263
- Layout/MultilineHashKeyLineBreaks:
264
- Enabled: false
265
-
266
- # To discuss: 1000s of fails on each repo but autocorrectable
267
- Layout/MultilineMethodArgumentLineBreaks:
268
- Enabled: false
269
-
270
- Layout/MultilineMethodCallBraceLayout:
271
- Enabled: true
272
-
273
- Layout/MultilineMethodCallIndentation:
274
- Enabled: true
275
-
276
- Layout/MultilineMethodDefinitionBraceLayout:
277
- Enabled: true
278
-
279
- # To discuss: 100s of fails on each repo but autocorrectable
280
- Layout/MultilineMethodParameterLineBreaks:
281
- Enabled: false
282
-
283
- Layout/MultilineOperationIndentation:
284
- Enabled: true
285
-
286
- Layout/ParameterAlignment:
287
- Enabled: true
288
-
289
- # For discussion: 1000s of fails, all autocorrectable
290
- Layout/RedundantLineBreak:
291
- Enabled: false
292
-
293
- Layout/RescueEnsureAlignment:
294
- Enabled: true
295
-
296
- # For discussion: 1000s of fails, all autocorrectable
297
- Layout/SingleLineBlockChain:
298
- Enabled: false
299
-
300
- Layout/SpaceAfterColon:
301
- Enabled: true
302
-
303
- Layout/SpaceAfterComma:
304
- Enabled: true
305
-
306
- Layout/SpaceAfterMethodName:
307
- Enabled: true
308
-
309
- Layout/SpaceAfterNot:
310
- Enabled: true
311
-
312
- Layout/SpaceAfterSemicolon:
313
- Enabled: true
314
-
315
- Layout/SpaceAroundBlockParameters:
316
- Enabled: true
317
-
318
- Layout/SpaceAroundEqualsInParameterDefault:
319
- Enabled: true
320
-
321
- Layout/SpaceAroundKeyword:
322
- Enabled: true
323
-
324
- Layout/SpaceAroundMethodCallOperator:
325
- Enabled: true
326
-
327
- Layout/SpaceAroundOperators:
328
- Enabled: true
329
-
330
- Layout/SpaceBeforeBlockBraces:
331
- Enabled: true
332
-
333
- Layout/SpaceBeforeBrackets:
334
- Enabled: true
335
-
336
- Layout/SpaceBeforeComma:
337
- Enabled: true
338
-
339
- Layout/SpaceBeforeComment:
340
- Enabled: true
341
-
342
- Layout/SpaceBeforeFirstArg:
343
- Enabled: true
344
-
345
- Layout/SpaceBeforeSemicolon:
346
- Enabled: true
347
-
348
- Layout/SpaceInLambdaLiteral:
349
- Enabled: true
350
-
351
- Layout/SpaceInsideArrayLiteralBrackets:
352
- Enabled: true
353
-
354
- Layout/SpaceInsideArrayPercentLiteral:
355
- Enabled: true
356
-
357
- Layout/SpaceInsideBlockBraces:
358
- Enabled: true
359
-
360
- Layout/SpaceInsideHashLiteralBraces:
361
- Enabled: true
362
-
363
- Layout/SpaceInsideParens:
364
- Enabled: true
365
-
366
- Layout/SpaceInsidePercentLiteralDelimiters:
367
- Enabled: true
368
-
369
- Layout/SpaceInsideRangeLiteral:
370
- Enabled: true
371
-
372
- Layout/SpaceInsideReferenceBrackets:
373
- Enabled: true
374
-
375
- Layout/SpaceInsideStringInterpolation:
376
- Enabled: true
377
-
378
- Layout/TrailingEmptyLines:
379
- Enabled: true
380
-
381
- Layout/TrailingWhitespace:
382
- Enabled: true
383
-
384
- Lint/AmbiguousAssignment:
385
- Enabled: true
386
-
387
- Lint/AmbiguousBlockAssociation:
388
- Exclude:
389
- - spec/**/*
390
-
391
- Lint/AmbiguousOperator:
392
- Enabled: true
393
-
394
- # Overridden to false in Chopin
395
- Lint/AmbiguousOperatorPrecedence:
396
- Enabled: true
397
-
398
- # Overridden to false in Chopin
399
- Lint/AmbiguousRange:
400
- Enabled: true
401
-
402
- # TODO: One fail on rater spec then would pass
403
- Lint/AmbiguousRegexpLiteral:
404
- Enabled: true
405
-
406
- Lint/AssignmentInCondition:
407
- Enabled: true
408
-
409
- Lint/BigDecimalNew:
410
- Enabled: true
411
-
412
- Lint/BinaryOperatorWithIdenticalOperands:
413
- Enabled: true
414
-
415
- Lint/BooleanSymbol:
416
- Enabled: true
417
-
418
- Lint/CircularArgumentReference:
419
- Enabled: true
420
-
421
- # TODO: 6 fails in Rater, otherwise clear
422
- Lint/ConstantDefinitionInBlock:
423
- Enabled: true
424
-
425
- Lint/ConstantOverwrittenInRescue: # new in 1.31
426
- Enabled: true
427
-
428
- # Set to false as 10000s of fails on Rater and Chopin if enabled
429
- # Rubocop docs suggest enabling only for constants that may cause concern
430
- # so enable and set these if required
431
- Lint/ConstantResolution:
432
- Enabled: false
433
-
434
- Lint/Debugger:
435
- Enabled: true
436
-
437
- Lint/DeprecatedClassMethods:
438
- Enabled: true
439
-
440
- Lint/DeprecatedConstants:
441
- Enabled: true
442
-
443
- Lint/DeprecatedOpenSSLConstant:
444
- Enabled: true
445
-
446
- Lint/DisjunctiveAssignmentInConstructor:
447
- Enabled: true
448
-
449
- Lint/DuplicateBranch:
450
- Enabled: true
451
-
452
- Lint/DuplicateCaseCondition:
453
- Enabled: true
454
-
455
- Lint/DuplicateElsifCondition:
456
- Enabled: true
457
-
458
- Lint/DuplicateHashKey:
459
- Enabled: true
460
-
461
- Lint/DuplicateMagicComment:
462
- Enabled: true
463
-
464
- Lint/DuplicateMatchPattern:
465
- Enabled: true
466
-
467
- Lint/DuplicateMethods:
468
- Enabled: true
469
-
470
- Lint/DuplicateRegexpCharacterClassElement:
471
- Enabled: true
472
-
473
- Lint/DuplicateRequire:
474
- Enabled: true
475
-
476
- Lint/DuplicateRescueException:
477
- Enabled: true
478
-
479
- Lint/EachWithObjectArgument:
480
- Enabled: true
481
-
482
- Lint/ElseLayout:
483
- Enabled: true
484
-
485
- Lint/EmptyBlock:
486
- Enabled: true
487
-
488
- Lint/EmptyClass:
489
- Enabled: true
490
-
491
- Lint/EmptyConditionalBody:
492
- Enabled: true
493
-
494
- Lint/EmptyEnsure:
495
- Enabled: true
496
-
497
- Lint/EmptyExpression:
498
- Enabled: true
499
-
500
- Lint/EmptyFile:
501
- Enabled: true
502
-
503
- Lint/EmptyInPattern: # new in 1.16
504
- Enabled: true
505
-
506
- Lint/EmptyInterpolation:
507
- Enabled: true
508
-
509
- Lint/EmptyWhen:
510
- Enabled: true
511
-
512
- Lint/ErbNewArguments:
513
- Enabled: true
514
-
515
- Lint/FlipFlop:
516
- Enabled: true
517
-
518
- Lint/FloatComparison:
519
- Enabled: true
520
-
521
- Lint/FloatOutOfRange:
522
- Enabled: true
523
-
524
- Lint/FormatParameterMismatch:
525
- Enabled: true
526
-
527
- Lint/HashCompareByIdentity:
528
- Enabled: true
529
-
530
- Lint/HeredocMethodCallPosition:
531
- Enabled: true
532
-
533
- Lint/IdentityComparison:
534
- Enabled: true
535
-
536
- Lint/ImplicitStringConcatenation:
537
- Enabled: true
538
-
539
- Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
540
- Enabled: true
541
-
542
- # TODO: two fails on Rater, one on CoCo, otherwise fine
543
- Lint/IneffectiveAccessModifier:
544
- Enabled: true
545
-
546
- Lint/InheritException:
547
- Enabled: true
548
-
549
- Lint/InterpolationCheck:
550
- Enabled: true
551
-
552
- Lint/LambdaWithoutLiteralBlock:
553
- Enabled: true
554
-
555
- Lint/LiteralAsCondition:
556
- Enabled: true
557
-
558
- Lint/LiteralInInterpolation:
559
- Enabled: true
560
-
561
- Lint/Loop:
562
- Enabled: true
563
-
564
- Lint/MissingCopEnableDirective:
565
- Enabled: true
566
-
567
- # TODO: Handful of errors on Rater and CoCo
568
- Lint/MissingSuper:
569
- Enabled: true
570
-
571
- Lint/MixedCaseRange:
572
- Enabled: true
573
-
574
- Lint/MixedRegexpCaptureTypes:
575
- Enabled: true
576
-
577
- Lint/MultipleComparison:
578
- Enabled: true
579
-
580
- Lint/NestedMethodDefinition:
581
- Enabled: true
582
-
583
- Lint/NestedPercentLiteral:
584
- Enabled: true
585
-
586
- Lint/NextWithoutAccumulator:
587
- Enabled: true
588
-
589
- Lint/NoReturnInBeginEndBlocks:
590
- Enabled: true
591
-
592
- # Overridden to false in Chopin
593
- Lint/NonAtomicFileOperation:
594
- Enabled: true
595
-
596
- Lint/NonDeterministicRequireOrder:
597
- Enabled: true
598
-
599
- Lint/NonLocalExitFromIterator:
600
- Enabled: true
601
-
602
- Lint/NumberConversion:
603
- Enabled: false
604
-
605
- Lint/NumberedParameterAssignment:
606
- Enabled: true
607
-
608
- Lint/OrAssignmentToConstant:
609
- Enabled: true
610
-
611
- Lint/OrderedMagicComments:
612
- Enabled: true
613
-
614
- Lint/OutOfRangeRegexpRef:
615
- Enabled: true
616
-
617
- Lint/ParenthesesAsGroupedExpression:
618
- Enabled: true
619
-
620
- Lint/PercentStringArray:
621
- Enabled: true
622
-
623
- Lint/PercentSymbolArray:
624
- Enabled: true
625
-
626
- Lint/RaiseException:
627
- Enabled: true
628
-
629
- Lint/RandOne:
630
- Enabled: true
631
-
632
- Lint/RedundantCopDisableDirective:
633
- Enabled: true
634
-
635
- Lint/RedundantCopEnableDirective:
636
- Enabled: true
637
-
638
- Lint/RedundantDirGlobSort:
639
- Enabled: true
640
-
641
- Lint/RedundantRegexpQuantifiers:
642
- Enabled: true
643
-
644
- Lint/RedundantRequireStatement:
645
- Enabled: true
646
-
647
- Lint/RedundantSafeNavigation:
648
- Enabled: true
649
-
650
- Lint/RedundantSplatExpansion:
651
- Enabled: true
652
-
653
- Lint/RedundantStringCoercion:
654
- Enabled: true
655
-
656
- Lint/RedundantWithIndex:
657
- Enabled: true
658
-
659
- Lint/RedundantWithObject:
660
- Enabled: true
661
-
662
- Lint/RefinementImportMethods:
663
- Enabled: true
664
-
665
- Lint/RegexpAsCondition:
666
- Enabled: true
667
-
668
- Lint/RequireParentheses:
669
- Enabled: true
670
-
671
- Lint/RequireRangeParentheses:
672
- Enabled: true
673
-
674
- # Overridden to false in Chopin
675
- Lint/RequireRelativeSelfPath:
676
- Enabled: true
677
-
678
- Lint/RescueException:
679
- Enabled: true
680
-
681
- Lint/RescueType:
682
- Enabled: true
683
-
684
- Lint/ReturnInVoidContext:
685
- Enabled: true
686
-
687
- Lint/SafeNavigationChain:
688
- Enabled: true
689
-
690
- Lint/SafeNavigationConsistency:
691
- Enabled: true
692
-
693
- Lint/SafeNavigationWithEmpty:
694
- Enabled: true
695
-
696
- Lint/ScriptPermission:
697
- Enabled: true
698
-
699
- Lint/SelfAssignment:
700
- Enabled: true
701
-
702
- Lint/SendWithMixinArgument:
703
- Enabled: true
704
-
705
- Lint/ShadowedArgument:
706
- Enabled: true
707
-
708
- Lint/ShadowedException:
709
- Enabled: true
710
-
711
- # Needs Chopin override
712
- Lint/ShadowingOuterLocalVariable:
713
- Enabled: true
714
-
715
- Lint/StructNewOverride:
716
- Enabled: true
717
-
718
- Lint/SuppressedException:
719
- Enabled: true
720
-
721
- Lint/SymbolConversion:
722
- Enabled: true
723
-
724
- Lint/Syntax:
725
- Enabled: true
726
-
727
- Lint/ToEnumArguments:
728
- Enabled: true
729
-
730
- Lint/ToJSON:
731
- Enabled: true
732
-
733
- Lint/TopLevelReturnWithArgument:
734
- Enabled: true
735
-
736
- Lint/TrailingCommaInAttributeDeclaration:
737
- Enabled: true
738
-
739
- Lint/TripleQuotes:
740
- Enabled: true
741
-
742
- Lint/UnderscorePrefixedVariableName:
743
- Enabled: true
744
-
745
- Lint/UnexpectedBlockArity:
746
- Enabled: true
747
-
748
- Lint/UnifiedInteger:
749
- Enabled: true
750
-
751
- Lint/UnmodifiedReduceAccumulator:
752
- Enabled: true
753
-
754
- Lint/UnreachableCode:
755
- Enabled: true
756
-
757
- Lint/UnreachableLoop:
758
- Enabled: true
759
-
760
- Lint/UnusedBlockArgument:
761
- Enabled: true
762
-
763
- Lint/UnusedMethodArgument:
764
- Enabled: true
765
-
766
- Lint/UriEscapeUnescape:
767
- Enabled: true
768
-
769
- Lint/UriRegexp:
770
- Enabled: true
771
-
772
- Lint/UselessAccessModifier:
773
- Enabled: true
774
-
775
- Lint/UselessAssignment:
776
- Enabled: true
777
-
778
- Lint/UselessElseWithoutRescue:
779
- Enabled: true
780
-
781
- Lint/UselessMethodDefinition:
782
- Enabled: true
783
-
784
- # TODO: Single fail on Chopin
785
- Lint/UselessRescue:
786
- Enabled: true
787
-
788
- Lint/UselessRuby2Keywords:
789
- Enabled: true
790
-
791
- Lint/UselessSetterCall:
792
- Enabled: true
793
-
794
- Lint/UselessTimes:
795
- Enabled: true
796
-
797
- Lint/Void:
798
- Enabled: true
799
-
800
- # METRICS COPS
801
-
802
- # Metrics cops are enabled by default with the expectation that many repos will
803
- # have to set their own limits or disable. #technical-excellence-community discussion
804
- # suggested some liked to work from them, and that overriding should be a conscious decision
805
-
806
- Metrics/AbcSize:
807
- Enabled: true
808
-
809
- Metrics/BlockLength:
810
- Enabled: true
811
- Exclude:
812
- - spec/**/*.rb
813
-
814
- Metrics/BlockNesting:
815
- Enabled: true
816
-
817
- Metrics/ClassLength:
818
- Enabled: true
819
-
820
- Metrics/CollectionLiteralLength:
821
- Enabled: true
822
-
823
- Metrics/CyclomaticComplexity:
824
- Enabled: true
825
-
826
- Metrics/MethodLength:
827
- Enabled: true
828
- Exclude:
829
- - spec/**/*.rb
830
-
831
- Metrics/ModuleLength:
832
- Enabled: true
833
-
834
- Metrics/ParameterLists:
835
- CountKeywordArgs: false
836
- Enabled: true
837
-
838
- Metrics/PerceivedComplexity:
839
- Enabled: true
840
-
841
- Migration/DepartmentName:
842
- Enabled: true
843
-
844
- # Needs override or fix in Chopin
845
- Naming/AccessorMethodName:
846
- Enabled: true
847
-
848
- Naming/AsciiIdentifiers:
849
- Enabled: true
850
-
851
- Naming/BinaryOperatorParameterName:
852
- Enabled: true
853
-
854
- Naming/BlockForwarding:
855
- Enabled: true
856
-
857
- Naming/BlockParameterName:
858
- Enabled: true
859
-
860
- Naming/ClassAndModuleCamelCase:
861
- Enabled: true
862
-
863
- Naming/ConstantName:
864
- Enabled: true
865
-
866
- Naming/FileName:
867
- Enabled: true
868
-
869
- Naming/HeredocDelimiterCase:
870
- Enabled: true
871
-
872
- Naming/HeredocDelimiterNaming:
873
- Enabled: true
874
-
875
- Naming/InclusiveLanguage:
876
- Enabled: true
877
-
878
- # Need override - 86 fails on Chopin
879
- Naming/MemoizedInstanceVariableName:
880
- Enabled: true
881
-
882
- Naming/MethodName:
883
- Enabled: true
884
-
885
- Naming/MethodParameterName:
886
- Enabled: true
887
- AllowedNames:
888
- - as
889
- - at
890
- - ex
891
- - id
892
- - ip
893
- - n
894
- - to
895
-
896
- Naming/PredicateName:
897
- Enabled: true
898
- ForbiddenPrefixes: []
899
-
900
- # Need Chopin override
901
- Naming/RescuedExceptionsVariableName:
902
- Enabled: true
903
-
904
- Naming/VariableName:
905
- Enabled: true
906
-
907
- # snake_case: 311 fails on Chopin, normalcase: 1118 fails on Chopin
908
- # snake_case default on Rater so make default in simplycop
909
- Naming/VariableNumber:
910
- Enabled: true
911
- EnforcedStyle: snake_case
912
- AllowedIdentifiers:
913
- - capture3
914
- - e164
915
- - iso8601
916
- - oauth2
917
- - rfc1123_date
918
- - rfc822
919
- - rfc2822
920
- - rfc3339
921
- - s3
922
- - x86_64
923
- AllowedPatterns:
924
- - v\d+
925
-
926
- # Overridden to false in Chopin
927
- Security/CompoundHash:
928
- Enabled: true
929
-
930
- Security/Eval:
931
- Enabled: true
932
- Exclude:
933
- - 'spec/**/*.rb'
934
-
935
- # Overridden to false on Chopin
936
- Security/IoMethods:
937
- Enabled: true
938
-
939
- # Needs override in chopin spec
940
- Security/JSONLoad:
941
- Enabled: true
942
-
943
- Security/MarshalLoad:
944
- Enabled: true
945
-
946
- Security/Open:
947
- Enabled: true
948
-
949
- Security/YAMLLoad:
950
- Enabled: true
951
-
952
- Style/AccessModifierDeclarations:
953
- Enabled: false
954
-
955
- Style/AccessorGrouping:
956
- Enabled: true
957
-
958
- Style/Alias:
959
- Enabled: false
960
-
961
- Style/AndOr:
962
- Enabled: true
963
-
964
- Style/ArgumentsForwarding:
965
- Enabled: true
966
-
967
- Style/ArrayCoercion:
968
- Enabled: true
969
-
970
- # Overridden to false in Chopin
971
- Style/ArrayIntersect:
972
- Enabled: true
973
-
974
- Style/ArrayJoin:
975
- Enabled: true
976
-
977
- Style/AsciiComments:
978
- Enabled: true
979
- AllowedChars:
980
- - £
981
- - ©
982
-
983
- Style/Attr:
984
- Enabled: true
985
-
986
- # Requires fixes in Chopin and Rater
987
- Style/AutoResourceCleanup:
988
- Enabled: true
989
-
990
- Style/BarePercentLiterals:
991
- Enabled: true
992
-
993
- Style/BeginBlock:
994
- Enabled: true
995
-
996
- Style/BisectedAttrAccessor:
997
- Enabled: true
998
-
999
- Style/BlockComments:
1000
- Enabled: true
1001
-
1002
- # Enabled by default and used in Rater so made explicit here
1003
- # However, overridden by Chopin to do file and proposal to use semantic style:
1004
- # See #technical-excellence-community discussion 28/02/23
1005
- Style/BlockDelimiters:
1006
- Enabled: true
1007
-
1008
- Style/CaseEquality:
1009
- Enabled: true
1010
-
1011
- Style/CaseLikeIf:
1012
- Enabled: true
1013
-
1014
- Style/CharacterLiteral:
1015
- Enabled: true
1016
-
1017
- Style/ClassAndModuleChildren:
1018
- Enabled: true
1019
- Exclude:
1020
- - spec/**/*.rb
1021
-
1022
- Style/ClassCheck:
1023
- Enabled: true
1024
-
1025
- Style/ClassEqualityComparison:
1026
- Enabled: true
1027
-
1028
- Style/ClassMethods:
1029
- Enabled: true
1030
-
1031
- # Requires discussion - multiple fails on Chopin/Rater/CoCo when set true with default
1032
- Style/ClassMethodsDefinitions:
1033
- Enabled: false
1034
-
1035
- Style/ClassVars:
1036
- Enabled: true
1037
-
1038
- Style/CollectionCompact:
1039
- Enabled: true
1040
-
1041
- # Requires discussion - multiple fails on Chopin/Rater/CoCo when set true with default
1042
- Style/CollectionMethods:
1043
- Enabled: false
1044
-
1045
- Style/ColonMethodCall:
1046
- Enabled: true
1047
- Severity: warning
1048
-
1049
- Style/ColonMethodDefinition:
1050
- Enabled: true
1051
-
1052
- Style/CombinableLoops:
1053
- Enabled: true
1054
-
1055
- Style/CommandLiteral:
1056
- Enabled: true
1057
-
1058
- Style/CommentAnnotation:
1059
- Enabled: true
1060
-
1061
- Style/CommentedKeyword:
1062
- Enabled: true
1063
-
1064
- # TODO: Single fail on Rater
1065
- Style/ComparableClamp:
1066
- Enabled: true
1067
-
1068
- Style/ConcatArrayLiterals:
1069
- Enabled: true
1070
-
1071
- Style/ConditionalAssignment:
1072
- Enabled: true
1073
-
1074
- # Requires discussion - 1000+ offences in Chopin alone, unless options set
1075
- Style/ConstantVisibility:
1076
- Enabled: false
1077
-
1078
- # For discussion
1079
- Style/Copyright:
1080
- Enabled: false
1081
-
1082
- Style/DataInheritance:
1083
- Enabled: true
1084
-
1085
- # Requires discussion - multiple fails on Chopin/Rater/CoCo if true
1086
- Style/DateTime:
1087
- Enabled: false
1088
-
1089
- Style/DefWithParentheses:
1090
- Enabled: true
1091
-
1092
- Style/Dir:
1093
- Enabled: true
1094
-
1095
- Style/DirEmpty:
1096
- Enabled: true
1097
-
1098
- # For discussion - - multiple fails on Chopin/Rater/CoCo
1099
- Style/DisableCopsWithinSourceCodeDirective:
1100
- Enabled: false
1101
-
1102
- Style/DocumentDynamicEvalDefinition:
1103
- Enabled: false
1104
-
1105
- Style/Documentation:
1106
- Enabled: false
1107
-
1108
- # Requires discussion - suggest false as 7000+ offences in Chopin alone
1109
- Style/DocumentationMethod:
1110
- Enabled: false
1111
-
1112
- Style/DoubleCopDisableDirective:
1113
- Enabled: true
1114
-
1115
- Style/DoubleNegation:
1116
- Enabled: true
1117
-
1118
- # Need override in Rater
1119
- Style/EachForSimpleLoop:
1120
- Enabled: true
1121
-
1122
- Style/EachWithObject:
1123
- Enabled: true
1124
-
1125
- Style/EmptyBlockParameter:
1126
- Enabled: true
1127
-
1128
- Style/EmptyCaseCondition:
1129
- Enabled: true
1130
-
1131
- Style/EmptyElse:
1132
- Enabled: true
1133
-
1134
- Style/EmptyHeredoc:
1135
- Enabled: true
1136
-
1137
- Style/EmptyLambdaParameter:
1138
- Enabled: true
1139
-
1140
- Style/EmptyLiteral:
1141
- Enabled: true
1142
-
1143
- Style/EmptyMethod:
1144
- Enabled: true
1145
-
1146
- Style/Encoding:
1147
- Enabled: true
1148
-
1149
- Style/EndBlock:
1150
- Enabled: true
1151
-
1152
- Style/EndlessMethod:
1153
- Enabled: true
1154
-
1155
- Style/EnvHome:
1156
- Enabled: true
1157
-
1158
- Style/EvalWithLocation:
1159
- Enabled: true
1160
-
1161
- Style/EvenOdd:
1162
- Enabled: true
1163
-
1164
- Style/ExactRegexpMatch:
1165
- Enabled: true
1166
-
1167
- Style/ExpandPathArguments:
1168
- Enabled: true
1169
-
1170
- Style/ExplicitBlockArgument:
1171
- Enabled: true
1172
-
1173
- Style/ExponentialNotation:
1174
- Enabled: false
1175
-
1176
- # Overridden to false in Chopin
1177
- Style/FetchEnvVar:
1178
- Enabled: true
1179
-
1180
- Style/FileEmpty:
1181
- Enabled: true
1182
-
1183
- Style/FileRead: # new in 1.24
1184
- Enabled: true
1185
-
1186
- # Overridden to false in Chopin
1187
- Style/FileWrite:
1188
- Enabled: true
1189
-
1190
- Style/FloatDivision:
1191
- Enabled: true
1192
-
1193
- Style/For:
1194
- Enabled: true
1195
-
1196
- Style/FormatString:
1197
- Enabled: false
1198
-
1199
- Style/FormatStringToken:
1200
- Enabled: false
1201
-
1202
- Style/FrozenStringLiteralComment:
1203
- Enabled: false
1204
-
1205
- Style/GlobalStdStream:
1206
- Enabled: true
1207
-
1208
- Style/GlobalVars:
1209
- Enabled: true
1210
-
1211
- Style/GuardClause:
1212
- Enabled: false
1213
-
1214
- Style/HashAsLastArrayItem:
1215
- Enabled: true
1216
-
1217
- Style/HashConversion:
1218
- Enabled: true
1219
-
1220
- Style/HashEachMethods:
1221
- Enabled: false
1222
-
1223
- Style/HashExcept:
1224
- Enabled: true
1225
-
1226
- Style/HashLikeCase:
1227
- Enabled: false
1228
-
1229
- Style/HashSyntax:
1230
- Enabled: true
1231
- EnforcedStyle: no_mixed_keys
1232
- EnforcedShorthandSyntax: consistent
1233
-
1234
- Style/HashTransformKeys:
1235
- Enabled: true
1236
-
1237
- Style/HashTransformValues:
1238
- Enabled: true
1239
-
1240
- Style/IdenticalConditionalBranches:
1241
- Enabled: true
1242
-
1243
- Style/IfInsideElse:
1244
- Enabled: true
1245
-
1246
- Style/IfUnlessModifier:
1247
- Enabled: false
1248
-
1249
- Style/IfUnlessModifierOfIfUnless:
1250
- Enabled: true
1251
-
1252
- Style/IfWithBooleanLiteralBranches:
1253
- Enabled: true
1254
-
1255
- Style/IfWithSemicolon:
1256
- Enabled: true
1257
-
1258
- # For dicussion - 100s of fails on Chopin, CoCo, Rater
1259
- Style/ImplicitRuntimeError:
1260
- Enabled: false
1261
-
1262
- Style/InfiniteLoop:
1263
- Enabled: true
1264
-
1265
- Style/InlineComment:
1266
- Enabled: false
1267
-
1268
- Style/InverseMethods:
1269
- Enabled: true
1270
-
1271
- Style/InvertibleUnlessCondition:
1272
- Enabled: true
1273
-
1274
- Style/InPatternThen: # new in 1.16
1275
- Enabled: true
1276
-
1277
- # For discussion - disabled by default but could be enabled
1278
- # and mostly solved by excluding spec files
1279
- Style/IpAddresses:
1280
- Enabled: false
1281
- # Enabled: true
1282
- # Exclude: [*spec.rb]
1283
-
1284
- Style/KeywordParametersOrder:
1285
- Enabled: true
1286
-
1287
- Style/Lambda:
1288
- Enabled: true
1289
-
1290
- Style/LambdaCall:
1291
- Enabled: true
1292
-
1293
- Style/LineEndConcatenation:
1294
- Enabled: true
1295
-
1296
- Style/MagicCommentFormat: # new in 1.35
1297
- Enabled: true
1298
-
1299
- Style/MapCompactWithConditionalBlock: # new in 1.30
1300
- Enabled: true
1301
-
1302
- # Overridden to false in Chopin
1303
- Style/MapToHash:
1304
- Enabled: true
1305
-
1306
- # Overridden to false in Chopin
1307
- Style/MapToSet:
1308
- Enabled: true
1309
-
1310
- # For discussion - 1000s of fails if set true
1311
- Style/MethodCallWithArgsParentheses:
1312
- Enabled: false
1313
-
1314
- Style/MethodCallWithoutArgsParentheses:
1315
- Enabled: false
1316
-
1317
- # For discussion - 100s of fails if set true
1318
- Style/MethodCalledOnDoEndBlock:
1319
- Enabled: false
1320
-
1321
- Style/MethodDefParentheses:
1322
- Enabled: true
1323
-
1324
- Style/MinMax:
1325
- Enabled: true
1326
-
1327
- # Overridden to false in Chopin
1328
- Style/MinMaxComparison:
1329
- Enabled: true
1330
-
1331
- Style/MissingElse:
1332
- Enabled: false
1333
-
1334
- Style/MissingRespondToMissing:
1335
- Enabled: true
1336
-
1337
- Style/MixinGrouping:
1338
- Enabled: true
1339
-
1340
- Style/MixinUsage:
1341
- Enabled: true
1342
-
1343
- Style/ModuleFunction:
1344
- Enabled: true
1345
-
1346
- Style/MultilineBlockChain:
1347
- Enabled: true
1348
-
1349
- Style/MultilineIfModifier:
1350
- Enabled: true
1351
-
1352
- Style/MultilineIfThen:
1353
- Enabled: true
1354
-
1355
- Style/MultilineInPatternThen: # new in 1.16
1356
- Enabled: true
1357
-
1358
- Style/MultilineMemoization:
1359
- Enabled: true
1360
-
1361
- # For discussion - suggest true, but 100s of fails in Chopin and handful in CoCo
1362
- Style/MultilineMethodSignature:
1363
- Enabled: false
1364
-
1365
- Style/MultilineTernaryOperator:
1366
- Enabled: true
1367
-
1368
- Style/MultilineWhenThen:
1369
- Enabled: true
1370
-
1371
- Style/MultipleComparison:
1372
- Enabled: true
1373
-
1374
- Style/MutableConstant:
1375
- Enabled: false
1376
-
1377
- Style/NegatedIf:
1378
- Enabled: true
1379
-
1380
- Style/NegatedIfElseCondition:
1381
- Enabled: true
1382
-
1383
- Style/NegatedUnless:
1384
- Enabled: true
1385
-
1386
- Style/NegatedWhile:
1387
- Enabled: true
1388
-
1389
- Style/NestedFileDirname:
1390
- Enabled: true
1391
-
1392
- Style/NestedModifier:
1393
- Enabled: true
1394
-
1395
- Style/NestedParenthesizedCalls:
1396
- Enabled: true
1397
-
1398
- Style/NestedTernaryOperator:
1399
- Enabled: true
1400
-
1401
- Style/Next:
1402
- Enabled: true
1403
-
1404
- Style/NilComparison:
1405
- Enabled: true
1406
-
1407
- Style/NilLambda:
1408
- Enabled: true
1409
-
1410
- Style/NonNilCheck:
1411
- Enabled: true
1412
-
1413
- Style/Not:
1414
- Enabled: true
1415
-
1416
- Style/NumberedParameters:
1417
- Enabled: true
1418
-
1419
- Style/NumberedParametersLimit:
1420
- Enabled: true
1421
-
1422
- Style/NumericLiteralPrefix:
1423
- Enabled: true
1424
-
1425
- Style/NumericLiterals:
1426
- Enabled: true
1427
-
1428
- Style/NumericPredicate:
1429
- Enabled: false
1430
-
1431
- Style/ObjectThen:
1432
- Enabled: true
1433
-
1434
- Style/OneLineConditional:
1435
- Enabled: true
1436
-
1437
- # Overridden to false in Chopin
1438
- Style/OpenStructUse:
1439
- Enabled: true
1440
-
1441
- Style/OperatorMethodCall:
1442
- Enabled: true
1443
-
1444
- Style/OptionHash:
1445
- Enabled: true
1446
-
1447
- Style/OptionalArguments:
1448
- Enabled: true
1449
-
1450
- Style/OptionalBooleanParameter:
1451
- Enabled: true
1452
-
1453
- Style/OrAssignment:
1454
- Enabled: true
1455
-
1456
- Style/ParallelAssignment:
1457
- Enabled: true
1458
-
1459
- Style/ParenthesesAroundCondition:
1460
- Enabled: true
1461
-
1462
- Style/PercentLiteralDelimiters:
1463
- Enabled: true
1464
-
1465
- Style/PercentQLiterals:
1466
- Enabled: true
1467
-
1468
- Style/PerlBackrefs:
1469
- Enabled: true
1470
-
1471
- Style/PreferredHashMethods:
1472
- Enabled: true
1473
-
1474
- Style/Proc:
1475
- Enabled: true
1476
-
1477
- # Overridden to false in Chopin and Rater
1478
- Style/QuotedSymbols:
1479
- Enabled: true
1480
-
1481
- Style/RaiseArgs:
1482
- Enabled: true
1483
-
1484
- Style/RandomWithOffset:
1485
- Enabled: true
1486
-
1487
- Style/RedundantArgument:
1488
- Enabled: false
1489
-
1490
- Style/RedundantArrayConstructor:
1491
- Enabled: true
1492
-
1493
- Style/RedundantAssignment:
1494
- Enabled: true
1495
-
1496
- Style/RedundantBegin:
1497
- Enabled: true
1498
-
1499
- Style/RedundantCapitalW:
1500
- Enabled: true
1501
-
1502
- Style/RedundantCondition:
1503
- Enabled: true
1504
-
1505
- Style/RedundantConditional:
1506
- Enabled: true
1507
-
1508
- Style/RedundantConstantBase:
1509
- Enabled: false
1510
-
1511
- Style/RedundantCurrentDirectoryInPath:
1512
- Enabled: false
1513
-
1514
- Style/RedundantDoubleSplatHashBraces:
1515
- Enabled: true
1516
-
1517
- Style/RedundantEach:
1518
- Enabled: true
1519
-
1520
- Style/RedundantException:
1521
- Enabled: true
1522
-
1523
- Style/RedundantFetchBlock:
1524
- Enabled: true
1525
-
1526
- Style/RedundantFileExtensionInRequire:
1527
- Enabled: true
1528
-
1529
- Style/RedundantFilterChain:
1530
- Enabled: true
1531
-
1532
- Style/RedundantFreeze:
1533
- Enabled: true
1534
-
1535
- Style/RedundantHeredocDelimiterQuotes:
1536
- Enabled: true
1537
-
1538
- Style/RedundantInitialize:
1539
- Enabled: true
1540
-
1541
- Style/RedundantInterpolation:
1542
- Enabled: false
1543
-
1544
- Style/RedundantLineContinuation:
1545
- Enabled: true
1546
-
1547
- Style/RedundantParentheses:
1548
- Enabled: true
1549
-
1550
- Style/RedundantPercentQ:
1551
- Enabled: true
1552
-
1553
- Style/RedundantRegexpArgument:
1554
- Enabled: true
1555
-
1556
- Style/RedundantRegexpCharacterClass:
1557
- Enabled: true
1558
-
1559
- Style/RedundantRegexpConstructor:
1560
- Enabled: true
1561
-
1562
- Style/RedundantRegexpEscape:
1563
- Enabled: true
1564
-
1565
- Style/RedundantReturn:
1566
- Enabled: true
1567
- Severity: warning
1568
-
1569
- Style/RedundantSelf:
1570
- Enabled: true
1571
-
1572
- Style/RedundantSelfAssignment:
1573
- Enabled: true
1574
-
1575
- # Overridden to false in Chopin
1576
- Style/RedundantSelfAssignmentBranch:
1577
- Enabled: true
1578
-
1579
- Style/RedundantSort:
1580
- Enabled: true
1581
-
1582
- Style/RedundantSortBy:
1583
- Enabled: true
1584
-
1585
- # Overridden to false in Chopin
1586
- Style/RedundantStringEscape:
1587
- Enabled: true
1588
-
1589
- Style/RegexpLiteral:
1590
- Enabled: true
1591
-
1592
- # For discussion - would improve legibility if set true
1593
- Style/RequireOrder:
1594
- Enabled: false
1595
-
1596
- Style/RescueModifier:
1597
- Enabled: true
1598
-
1599
- Style/RescueStandardError:
1600
- Enabled: true
1601
-
1602
- # For discussion - agreed configuration would be nice
1603
- Style/ReturnNil:
1604
- Enabled: false
1605
-
1606
- # For discussion - as ReturnNil agreed configuration would be nice
1607
- Style/ReturnNilInPredicateMethodDefinition:
1608
- Enabled: false
1609
-
1610
- Style/SafeNavigation:
1611
- Enabled: false
1612
-
1613
- Style/Sample:
1614
- Enabled: true
1615
-
1616
- # Overridden to false in Chopin
1617
- Style/SelectByRegexp:
1618
- Enabled: true
1619
-
1620
- Style/SelfAssignment:
1621
- Enabled: true
1622
-
1623
- Style/Semicolon:
1624
- Enabled: true
1625
-
1626
- Style/Send:
1627
- Enabled: false
1628
-
1629
- Style/SignalException:
1630
- Enabled: true
1631
-
1632
- Style/SingleArgumentDig:
1633
- Enabled: true
1634
-
1635
- # If this is to be set true, desired param names need to be set for reduce and inject
1636
- # (default is |acc, elem|) and current usage suggests domain relevant names are preferred
1637
- Style/SingleLineBlockParams:
1638
- Enabled: false
1639
-
1640
- Style/SingleLineMethods:
1641
- Enabled: true
1642
-
1643
- Style/SlicingWithRange:
1644
- Enabled: false
1645
-
1646
- Style/SoleNestedConditional:
1647
- Enabled: true
1648
-
1649
- Style/SpecialGlobalVars:
1650
- Enabled: true
1651
- Severity: warning
1652
-
1653
- Style/StabbyLambdaParentheses:
1654
- Enabled: true
1655
-
1656
- # Unsafe autocorrect and many fails on multiple repos
1657
- Style/StaticClass:
1658
- Enabled: false
1659
-
1660
- # TODO: Small number of autocorrects in Chopin
1661
- Style/StderrPuts:
1662
- Enabled: true
1663
-
1664
- Style/StringChars:
1665
- Enabled: true
1666
-
1667
- Style/StringConcatenation:
1668
- Enabled: true
1669
-
1670
- Style/StringHashKeys:
1671
- Enabled: false
1672
-
1673
- Style/StringLiterals:
1674
- Enabled: false
1675
-
1676
- Style/StringLiteralsInInterpolation:
1677
- Enabled: true
1678
-
1679
- Style/StringMethods:
1680
- Enabled: true
1681
-
1682
- Style/Strip:
1683
- Enabled: true
1684
-
1685
- Style/StructInheritance:
1686
- Enabled: true
1687
-
1688
- Style/SwapValues:
1689
- Enabled: true
1690
-
1691
- Style/SymbolArray:
1692
- EnforcedStyle: brackets
1693
-
1694
- Style/SymbolLiteral:
1695
- Enabled: true
1696
-
1697
- Style/SymbolProc:
1698
- Enabled: true
1699
-
1700
- Style/TernaryParentheses:
1701
- Enabled: true
1702
-
1703
- # For discussion - suggest should be true or at least warn but large number of fails on repos
1704
- Style/TopLevelMethodDefinition:
1705
- Enabled: false
1706
-
1707
- Style/TrailingBodyOnClass:
1708
- Enabled: true
1709
-
1710
- Style/TrailingBodyOnMethodDefinition:
1711
- Enabled: true
1712
-
1713
- Style/TrailingBodyOnModule:
1714
- Enabled: true
1715
-
1716
- # Will require Chopin override
1717
- Style/TrailingCommaInArguments:
1718
- Enabled: true
1719
-
1720
- # Will require Chopin override
1721
- Style/TrailingCommaInArrayLiteral:
1722
- Enabled: true
1723
-
1724
- Style/TrailingCommaInBlockArgs:
1725
- Enabled: true
1726
-
1727
- # Will require Chopin override
1728
- Style/TrailingCommaInHashLiteral:
1729
- Enabled: true
1730
-
1731
- Style/TrailingMethodEndStatement:
1732
- Enabled: true
1733
-
1734
- Style/TrailingUnderscoreVariable:
1735
- Enabled: true
1736
-
1737
- Style/TrivialAccessors:
1738
- Enabled: true
1739
-
1740
- Style/UnlessElse:
1741
- Enabled: true
1742
-
1743
- Style/UnlessLogicalOperators:
1744
- Enabled: true
1745
-
1746
- Style/UnpackFirst:
1747
- Enabled: true
1748
-
1749
- Style/VariableInterpolation:
1750
- Enabled: true
1751
-
1752
- Style/WhenThen:
1753
- Enabled: true
1754
-
1755
- Style/WhileUntilDo:
1756
- Enabled: true
1757
-
1758
- Style/WhileUntilModifier:
1759
- Enabled: true
1760
-
1761
- # Overridden to false in Chopin
1762
- Style/WordArray:
1763
- EnforcedStyle: brackets
1764
-
1765
- Style/YAMLFileRead:
1766
- Enabled: true
1767
-
1768
- Style/YodaCondition:
1769
- Enabled: false
1770
-
1771
- Style/YodaExpression:
1772
- Enabled: false
1773
-
1774
- Style/ZeroLengthPredicate:
1775
- Enabled: true