deprecation_toolkit 1.5.1 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,1017 +0,0 @@
1
- AllCops:
2
- Exclude:
3
- - 'db/schema.rb'
4
- DisabledByDefault: true
5
- StyleGuideBaseURL: https://shopify.github.io/ruby-style-guide/
6
-
7
- Lint/AssignmentInCondition:
8
- Enabled: true
9
-
10
- Layout/AccessModifierIndentation:
11
- EnforcedStyle: indent
12
- SupportedStyles:
13
- - outdent
14
- - indent
15
- IndentationWidth:
16
-
17
- Style/Alias:
18
- EnforcedStyle: prefer_alias_method
19
- SupportedStyles:
20
- - prefer_alias
21
- - prefer_alias_method
22
-
23
- Layout/HashAlignment:
24
- EnforcedHashRocketStyle: key
25
- EnforcedColonStyle: key
26
- EnforcedLastArgumentHashStyle: ignore_implicit
27
- SupportedLastArgumentHashStyles:
28
- - always_inspect
29
- - always_ignore
30
- - ignore_implicit
31
- - ignore_explicit
32
-
33
- Layout/ParameterAlignment:
34
- EnforcedStyle: with_fixed_indentation
35
- SupportedStyles:
36
- - with_first_parameter
37
- - with_fixed_indentation
38
- IndentationWidth:
39
-
40
- Style/AndOr:
41
- EnforcedStyle: always
42
- SupportedStyles:
43
- - always
44
- - conditionals
45
-
46
- Style/BarePercentLiterals:
47
- EnforcedStyle: bare_percent
48
- SupportedStyles:
49
- - percent_q
50
- - bare_percent
51
-
52
- Style/BlockDelimiters:
53
- EnforcedStyle: line_count_based
54
- SupportedStyles:
55
- - line_count_based
56
- - semantic
57
- - braces_for_chaining
58
- ProceduralMethods:
59
- - benchmark
60
- - bm
61
- - bmbm
62
- - create
63
- - each_with_object
64
- - measure
65
- - new
66
- - realtime
67
- - tap
68
- - with_object
69
- FunctionalMethods:
70
- - let
71
- - let!
72
- - subject
73
- - watch
74
- IgnoredMethods:
75
- - lambda
76
- - proc
77
- - it
78
-
79
- Layout/CaseIndentation:
80
- EnforcedStyle: end
81
- SupportedStyles:
82
- - case
83
- - end
84
- IndentOneStep: false
85
- IndentationWidth:
86
-
87
- Style/ClassAndModuleChildren:
88
- EnforcedStyle: nested
89
- SupportedStyles:
90
- - nested
91
- - compact
92
-
93
- Style/ClassCheck:
94
- EnforcedStyle: is_a?
95
- SupportedStyles:
96
- - is_a?
97
- - kind_of?
98
-
99
- Style/CommandLiteral:
100
- EnforcedStyle: percent_x
101
- SupportedStyles:
102
- - backticks
103
- - percent_x
104
- - mixed
105
- AllowInnerBackticks: false
106
-
107
- Style/CommentAnnotation:
108
- Keywords:
109
- - TODO
110
- - FIXME
111
- - OPTIMIZE
112
- - HACK
113
- - REVIEW
114
-
115
- Style/ConditionalAssignment:
116
- EnforcedStyle: assign_to_condition
117
- SupportedStyles:
118
- - assign_to_condition
119
- - assign_inside_condition
120
- SingleLineConditionsOnly: true
121
-
122
- Layout/DotPosition:
123
- EnforcedStyle: leading
124
- SupportedStyles:
125
- - leading
126
- - trailing
127
-
128
- Style/EmptyElse:
129
- EnforcedStyle: both
130
- SupportedStyles:
131
- - empty
132
- - nil
133
- - both
134
-
135
- Layout/EmptyLineBetweenDefs:
136
- AllowAdjacentOneLineDefs: false
137
-
138
- Layout/EmptyLinesAroundBlockBody:
139
- EnforcedStyle: no_empty_lines
140
- SupportedStyles:
141
- - empty_lines
142
- - no_empty_lines
143
-
144
- Layout/EmptyLinesAroundClassBody:
145
- EnforcedStyle: no_empty_lines
146
- SupportedStyles:
147
- - empty_lines
148
- - empty_lines_except_namespace
149
- - no_empty_lines
150
-
151
- Layout/EmptyLinesAroundModuleBody:
152
- EnforcedStyle: no_empty_lines
153
- SupportedStyles:
154
- - empty_lines
155
- - empty_lines_except_namespace
156
- - no_empty_lines
157
-
158
- Layout/ExtraSpacing:
159
- AllowForAlignment: true
160
- ForceEqualSignAlignment: false
161
-
162
- Naming/FileName:
163
- Exclude: []
164
- ExpectMatchingDefinition: false
165
- Regex:
166
- IgnoreExecutableScripts: true
167
-
168
- Layout/FirstArgumentIndentation:
169
- EnforcedStyle: consistent
170
- SupportedStyles:
171
- - consistent
172
- - special_for_inner_method_call
173
- - special_for_inner_method_call_in_parentheses
174
- IndentationWidth:
175
-
176
- Style/For:
177
- EnforcedStyle: each
178
- SupportedStyles:
179
- - for
180
- - each
181
-
182
- Style/FormatString:
183
- EnforcedStyle: format
184
- SupportedStyles:
185
- - format
186
- - sprintf
187
- - percent
188
-
189
- Style/FrozenStringLiteralComment:
190
- Details: >-
191
- Add `# frozen_string_literal: true` to the top of the file. Frozen string
192
- literals will become the default in a future Ruby version, and we want to
193
- make sure we're ready.
194
- EnforcedStyle: always
195
- SupportedStyles:
196
- - always
197
- - never
198
-
199
- Style/GlobalVars:
200
- AllowedVariables: []
201
-
202
- Style/HashSyntax:
203
- EnforcedStyle: ruby19
204
- SupportedStyles:
205
- - ruby19
206
- - hash_rockets
207
- - no_mixed_keys
208
- - ruby19_no_mixed_keys
209
- UseHashRocketsWithSymbolValues: false
210
- PreferHashRocketsForNonAlnumEndingSymbols: false
211
-
212
- Layout/IndentationConsistency:
213
- EnforcedStyle: normal
214
- SupportedStyles:
215
- - normal
216
- - rails
217
-
218
- Layout/IndentationWidth:
219
- Width: 2
220
-
221
- Layout/FirstArrayElementIndentation:
222
- EnforcedStyle: consistent
223
- SupportedStyles:
224
- - special_inside_parentheses
225
- - consistent
226
- - align_brackets
227
- IndentationWidth:
228
-
229
- Layout/AssignmentIndentation:
230
- IndentationWidth:
231
-
232
- Layout/FirstHashElementIndentation:
233
- EnforcedStyle: consistent
234
- SupportedStyles:
235
- - special_inside_parentheses
236
- - consistent
237
- - align_braces
238
- IndentationWidth:
239
-
240
- Style/LambdaCall:
241
- EnforcedStyle: call
242
- SupportedStyles:
243
- - call
244
- - braces
245
-
246
- Style/Next:
247
- EnforcedStyle: skip_modifier_ifs
248
- MinBodyLength: 3
249
- SupportedStyles:
250
- - skip_modifier_ifs
251
- - always
252
-
253
- Style/NonNilCheck:
254
- IncludeSemanticChanges: false
255
-
256
- Style/MethodCallWithArgsParentheses:
257
- Enabled: true
258
- IgnoreMacros: true
259
- IgnoredMethods:
260
- - require
261
- - require_relative
262
- - require_dependency
263
- - yield
264
- - raise
265
- - puts
266
- Exclude:
267
- - Gemfile
268
-
269
- Style/MethodDefParentheses:
270
- EnforcedStyle: require_parentheses
271
- SupportedStyles:
272
- - require_parentheses
273
- - require_no_parentheses
274
- - require_no_parentheses_except_multiline
275
-
276
- Naming/MethodName:
277
- EnforcedStyle: snake_case
278
- SupportedStyles:
279
- - snake_case
280
- - camelCase
281
-
282
- Layout/MultilineArrayBraceLayout:
283
- EnforcedStyle: symmetrical
284
- SupportedStyles:
285
- - symmetrical
286
- - new_line
287
- - same_line
288
-
289
- Layout/MultilineHashBraceLayout:
290
- EnforcedStyle: symmetrical
291
- SupportedStyles:
292
- - symmetrical
293
- - new_line
294
- - same_line
295
-
296
- Layout/MultilineMethodCallBraceLayout:
297
- EnforcedStyle: symmetrical
298
- SupportedStyles:
299
- - symmetrical
300
- - new_line
301
- - same_line
302
-
303
- Layout/MultilineMethodCallIndentation:
304
- EnforcedStyle: indented
305
- SupportedStyles:
306
- - aligned
307
- - indented
308
- - indented_relative_to_receiver
309
- IndentationWidth: 2
310
-
311
- Layout/MultilineMethodDefinitionBraceLayout:
312
- EnforcedStyle: symmetrical
313
- SupportedStyles:
314
- - symmetrical
315
- - new_line
316
- - same_line
317
-
318
- Style/NumericLiteralPrefix:
319
- EnforcedOctalStyle: zero_only
320
- SupportedOctalStyles:
321
- - zero_with_o
322
- - zero_only
323
-
324
- Style/ParenthesesAroundCondition:
325
- AllowSafeAssignment: true
326
-
327
- Style/PercentQLiterals:
328
- EnforcedStyle: lower_case_q
329
- SupportedStyles:
330
- - lower_case_q
331
- - upper_case_q
332
-
333
- Naming/PredicateName:
334
- NamePrefix:
335
- - is_
336
- ForbiddenPrefixes:
337
- - is_
338
- AllowedMethods:
339
- - is_a?
340
- Exclude:
341
- - 'spec/**/*'
342
-
343
- Style/PreferredHashMethods:
344
- EnforcedStyle: short
345
- SupportedStyles:
346
- - short
347
- - verbose
348
-
349
- Style/RaiseArgs:
350
- EnforcedStyle: exploded
351
- SupportedStyles:
352
- - compact
353
- - exploded
354
-
355
- Style/RedundantReturn:
356
- AllowMultipleReturnValues: false
357
-
358
- Style/RegexpLiteral:
359
- EnforcedStyle: mixed
360
- SupportedStyles:
361
- - slashes
362
- - percent_r
363
- - mixed
364
- AllowInnerSlashes: false
365
-
366
- Style/SafeNavigation:
367
- ConvertCodeThatCanStartToReturnNil: false
368
- Enabled: true
369
-
370
- Lint/SafeNavigationChain:
371
- Enabled: true
372
-
373
- Style/Semicolon:
374
- AllowAsExpressionSeparator: false
375
-
376
- Style/SignalException:
377
- EnforcedStyle: only_raise
378
- SupportedStyles:
379
- - only_raise
380
- - only_fail
381
- - semantic
382
-
383
- Style/SingleLineMethods:
384
- AllowIfMethodIsEmpty: true
385
-
386
- Layout/SpaceBeforeFirstArg:
387
- AllowForAlignment: true
388
-
389
- Style/SpecialGlobalVars:
390
- EnforcedStyle: use_english_names
391
- SupportedStyles:
392
- - use_perl_names
393
- - use_english_names
394
-
395
- Style/StabbyLambdaParentheses:
396
- EnforcedStyle: require_parentheses
397
- SupportedStyles:
398
- - require_parentheses
399
- - require_no_parentheses
400
-
401
- Style/StringLiteralsInInterpolation:
402
- EnforcedStyle: single_quotes
403
- SupportedStyles:
404
- - single_quotes
405
- - double_quotes
406
-
407
- Layout/SpaceAroundBlockParameters:
408
- EnforcedStyleInsidePipes: no_space
409
- SupportedStylesInsidePipes:
410
- - space
411
- - no_space
412
-
413
- Layout/SpaceAroundEqualsInParameterDefault:
414
- EnforcedStyle: space
415
- SupportedStyles:
416
- - space
417
- - no_space
418
-
419
- Layout/SpaceAroundOperators:
420
- AllowForAlignment: true
421
-
422
- Layout/SpaceBeforeBlockBraces:
423
- EnforcedStyle: space
424
- EnforcedStyleForEmptyBraces: space
425
- SupportedStyles:
426
- - space
427
- - no_space
428
-
429
- Layout/SpaceInsideBlockBraces:
430
- EnforcedStyle: space
431
- SupportedStyles:
432
- - space
433
- - no_space
434
- EnforcedStyleForEmptyBraces: no_space
435
- SpaceBeforeBlockParameters: true
436
-
437
- Layout/SpaceInsideHashLiteralBraces:
438
- EnforcedStyle: space
439
- EnforcedStyleForEmptyBraces: no_space
440
- SupportedStyles:
441
- - space
442
- - no_space
443
- - compact
444
-
445
- Layout/SpaceInsideStringInterpolation:
446
- EnforcedStyle: no_space
447
- SupportedStyles:
448
- - space
449
- - no_space
450
-
451
- Style/SymbolProc:
452
- IgnoredMethods:
453
- - respond_to
454
- - define_method
455
-
456
- Style/TernaryParentheses:
457
- EnforcedStyle: require_no_parentheses
458
- SupportedStyles:
459
- - require_parentheses
460
- - require_no_parentheses
461
- AllowSafeAssignment: true
462
-
463
- Layout/TrailingEmptyLines:
464
- EnforcedStyle: final_newline
465
- SupportedStyles:
466
- - final_newline
467
- - final_blank_line
468
-
469
- Style/TrivialAccessors:
470
- ExactNameMatch: true
471
- AllowPredicates: true
472
- AllowDSLWriters: false
473
- IgnoreClassMethods: false
474
- AllowedMethods:
475
- - to_ary
476
- - to_a
477
- - to_c
478
- - to_enum
479
- - to_h
480
- - to_hash
481
- - to_i
482
- - to_int
483
- - to_io
484
- - to_open
485
- - to_path
486
- - to_proc
487
- - to_r
488
- - to_regexp
489
- - to_str
490
- - to_s
491
- - to_sym
492
-
493
- Naming/VariableName:
494
- EnforcedStyle: snake_case
495
- SupportedStyles:
496
- - snake_case
497
- - camelCase
498
-
499
- Style/WhileUntilModifier:
500
- Enabled: true
501
-
502
- Metrics/BlockNesting:
503
- Max: 3
504
-
505
- Layout/LineLength:
506
- Max: 120
507
- AllowHeredoc: true
508
- AllowURI: true
509
- URISchemes:
510
- - http
511
- - https
512
- IgnoreCopDirectives: false
513
- IgnoredPatterns:
514
- - '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
515
-
516
- Metrics/ParameterLists:
517
- Max: 5
518
- CountKeywordArgs: false
519
-
520
- Layout/BlockAlignment:
521
- EnforcedStyleAlignWith: either
522
- SupportedStylesAlignWith:
523
- - either
524
- - start_of_block
525
- - start_of_line
526
-
527
- Layout/EndAlignment:
528
- EnforcedStyleAlignWith: variable
529
- SupportedStylesAlignWith:
530
- - keyword
531
- - variable
532
- - start_of_line
533
-
534
- Layout/DefEndAlignment:
535
- EnforcedStyleAlignWith: start_of_line
536
- SupportedStylesAlignWith:
537
- - start_of_line
538
- - def
539
-
540
- Lint/InheritException:
541
- EnforcedStyle: runtime_error
542
- SupportedStyles:
543
- - runtime_error
544
- - standard_error
545
-
546
- Lint/UnusedBlockArgument:
547
- IgnoreEmptyBlocks: true
548
- AllowUnusedKeywordArguments: false
549
-
550
- Lint/UnusedMethodArgument:
551
- AllowUnusedKeywordArguments: false
552
- IgnoreEmptyMethods: true
553
-
554
- Naming/AccessorMethodName:
555
- Enabled: true
556
-
557
- Layout/ArrayAlignment:
558
- Enabled: true
559
-
560
- Style/ArrayJoin:
561
- Enabled: true
562
-
563
- Naming/AsciiIdentifiers:
564
- Enabled: true
565
-
566
- Style/Attr:
567
- Enabled: true
568
-
569
- Style/BeginBlock:
570
- Enabled: true
571
-
572
- Style/BlockComments:
573
- Enabled: true
574
-
575
- Layout/BlockEndNewline:
576
- Enabled: true
577
-
578
- Style/CaseEquality:
579
- Enabled: true
580
-
581
- Style/CharacterLiteral:
582
- Enabled: true
583
-
584
- Naming/ClassAndModuleCamelCase:
585
- Enabled: true
586
-
587
- Style/ClassMethods:
588
- Enabled: true
589
-
590
- Style/ClassVars:
591
- Enabled: true
592
-
593
- Layout/ClosingParenthesisIndentation:
594
- Enabled: true
595
-
596
- Style/ColonMethodCall:
597
- Enabled: true
598
-
599
- Layout/CommentIndentation:
600
- Enabled: true
601
-
602
- Naming/ConstantName:
603
- Enabled: true
604
-
605
- Style/DateTime:
606
- Enabled: true
607
-
608
- Style/DefWithParentheses:
609
- Enabled: true
610
-
611
- Style/EachForSimpleLoop:
612
- Enabled: true
613
-
614
- Style/EachWithObject:
615
- Enabled: true
616
-
617
- Layout/ElseAlignment:
618
- Enabled: true
619
-
620
- Style/EmptyCaseCondition:
621
- Enabled: true
622
-
623
- Layout/EmptyLines:
624
- Enabled: true
625
-
626
- Layout/EmptyLinesAroundAccessModifier:
627
- Enabled: true
628
-
629
- Layout/EmptyLinesAroundMethodBody:
630
- Enabled: true
631
-
632
- Style/EmptyLiteral:
633
- Enabled: true
634
-
635
- Style/EndBlock:
636
- Enabled: true
637
-
638
- Layout/EndOfLine:
639
- Enabled: true
640
-
641
- Style/EvenOdd:
642
- Enabled: true
643
-
644
- Layout/InitialIndentation:
645
- Enabled: true
646
-
647
- Lint/FlipFlop:
648
- Enabled: true
649
-
650
- Style/IfInsideElse:
651
- Enabled: true
652
-
653
- Style/IfUnlessModifierOfIfUnless:
654
- Enabled: true
655
-
656
- Style/IfWithSemicolon:
657
- Enabled: true
658
-
659
- Style/IdenticalConditionalBranches:
660
- Enabled: true
661
-
662
- Layout/IndentationStyle:
663
- Enabled: true
664
-
665
- Style/InfiniteLoop:
666
- Enabled: true
667
-
668
- Layout/LeadingCommentSpace:
669
- Enabled: true
670
-
671
- Style/LineEndConcatenation:
672
- Enabled: true
673
-
674
- Style/MethodCallWithoutArgsParentheses:
675
- Enabled: true
676
-
677
- Style/MethodMissingSuper:
678
- Enabled: true
679
-
680
- Style/MissingRespondToMissing:
681
- Enabled: true
682
-
683
- Layout/MultilineBlockLayout:
684
- Enabled: true
685
-
686
- Style/MultilineIfThen:
687
- Enabled: true
688
-
689
- Style/MultilineMemoization:
690
- Enabled: true
691
-
692
- Style/MultilineTernaryOperator:
693
- Enabled: true
694
-
695
- Style/NegatedIf:
696
- Enabled: true
697
-
698
- Style/NegatedWhile:
699
- Enabled: true
700
-
701
- Style/NestedModifier:
702
- Enabled: true
703
-
704
- Style/NestedParenthesizedCalls:
705
- Enabled: true
706
-
707
- Style/NestedTernaryOperator:
708
- Enabled: true
709
-
710
- Style/NilComparison:
711
- Enabled: true
712
-
713
- Style/Not:
714
- Enabled: true
715
-
716
- Style/OneLineConditional:
717
- Enabled: true
718
-
719
- Naming/BinaryOperatorParameterName:
720
- Enabled: true
721
-
722
- Style/OptionalArguments:
723
- Enabled: true
724
-
725
- Style/ParallelAssignment:
726
- Enabled: true
727
-
728
- Style/PerlBackrefs:
729
- Enabled: true
730
-
731
- Style/Proc:
732
- Enabled: true
733
-
734
- Style/RedundantBegin:
735
- Enabled: true
736
-
737
- Style/RedundantException:
738
- Enabled: true
739
-
740
- Style/RedundantFreeze:
741
- Enabled: true
742
-
743
- Style/RedundantParentheses:
744
- Enabled: true
745
-
746
- Style/RedundantSelf:
747
- Enabled: true
748
-
749
- Style/RedundantSortBy:
750
- Enabled: true
751
-
752
- Layout/RescueEnsureAlignment:
753
- Enabled: true
754
-
755
- Style/RescueModifier:
756
- Enabled: true
757
-
758
- Style/Sample:
759
- Enabled: true
760
-
761
- Style/SelfAssignment:
762
- Enabled: true
763
-
764
- Layout/SpaceAfterColon:
765
- Enabled: true
766
-
767
- Layout/SpaceAfterComma:
768
- Enabled: true
769
-
770
- Layout/SpaceAfterMethodName:
771
- Enabled: true
772
-
773
- Layout/SpaceAfterNot:
774
- Enabled: true
775
-
776
- Layout/SpaceAfterSemicolon:
777
- Enabled: true
778
-
779
- Layout/SpaceBeforeComma:
780
- Enabled: true
781
-
782
- Layout/SpaceBeforeComment:
783
- Enabled: true
784
-
785
- Layout/SpaceBeforeSemicolon:
786
- Enabled: true
787
-
788
- Layout/SpaceAroundKeyword:
789
- Enabled: true
790
-
791
- Layout/SpaceInsideArrayPercentLiteral:
792
- Enabled: true
793
-
794
- Layout/SpaceInsidePercentLiteralDelimiters:
795
- Enabled: true
796
-
797
- Layout/SpaceInsideArrayLiteralBrackets:
798
- Enabled: true
799
-
800
- Layout/SpaceInsideParens:
801
- Enabled: true
802
-
803
- Layout/SpaceInsideRangeLiteral:
804
- Enabled: true
805
-
806
- Style/SymbolLiteral:
807
- Enabled: true
808
-
809
- Layout/TrailingWhitespace:
810
- Enabled: true
811
-
812
- Style/UnlessElse:
813
- Enabled: true
814
-
815
- Style/RedundantCapitalW:
816
- Enabled: true
817
-
818
- Style/RedundantInterpolation:
819
- Enabled: true
820
-
821
- Style/RedundantPercentQ:
822
- Enabled: true
823
-
824
- Style/VariableInterpolation:
825
- Enabled: true
826
-
827
- Style/WhenThen:
828
- Enabled: true
829
-
830
- Style/WhileUntilDo:
831
- Enabled: true
832
-
833
- Style/ZeroLengthPredicate:
834
- Enabled: true
835
-
836
- Layout/HeredocIndentation:
837
- EnforcedStyle: squiggly
838
-
839
- Lint/AmbiguousOperator:
840
- Enabled: true
841
-
842
- Lint/AmbiguousRegexpLiteral:
843
- Enabled: true
844
-
845
- Lint/CircularArgumentReference:
846
- Enabled: true
847
-
848
- Layout/ConditionPosition:
849
- Enabled: true
850
-
851
- Lint/Debugger:
852
- Enabled: true
853
-
854
- Lint/DeprecatedClassMethods:
855
- Enabled: true
856
-
857
- Lint/DuplicateMethods:
858
- Enabled: true
859
-
860
- Lint/DuplicateHashKey:
861
- Enabled: true
862
-
863
- Lint/EachWithObjectArgument:
864
- Enabled: true
865
-
866
- Lint/ElseLayout:
867
- Enabled: true
868
-
869
- Lint/EmptyEnsure:
870
- Enabled: true
871
-
872
- Lint/EmptyInterpolation:
873
- Enabled: true
874
-
875
- Lint/EnsureReturn:
876
- Enabled: true
877
-
878
- Lint/FloatOutOfRange:
879
- Enabled: true
880
-
881
- Lint/FormatParameterMismatch:
882
- Enabled: true
883
-
884
- Lint/SuppressedException:
885
- AllowComments: true
886
-
887
- Lint/ImplicitStringConcatenation:
888
- Description: Checks for adjacent string literals on the same line, which could
889
- better be represented as a single string literal.
890
-
891
- Lint/IneffectiveAccessModifier:
892
- Description: Checks for attempts to use `private` or `protected` to set the visibility
893
- of a class method, which does not work.
894
-
895
- Lint/LiteralAsCondition:
896
- Enabled: true
897
-
898
- Lint/LiteralInInterpolation:
899
- Enabled: true
900
-
901
- Lint/Loop:
902
- Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
903
- for post-loop tests.
904
-
905
- Lint/NestedMethodDefinition:
906
- Enabled: true
907
-
908
- Lint/NextWithoutAccumulator:
909
- Description: Do not omit the accumulator when calling `next` in a `reduce`/`inject`
910
- block.
911
-
912
- Lint/NonLocalExitFromIterator:
913
- Enabled: true
914
-
915
- Lint/ParenthesesAsGroupedExpression:
916
- Enabled: true
917
-
918
- Lint/PercentStringArray:
919
- Enabled: true
920
-
921
- Lint/PercentSymbolArray:
922
- Enabled: true
923
-
924
- Lint/RandOne:
925
- Description: Checks for `rand(1)` calls. Such calls always return `0` and most
926
- likely a mistake.
927
-
928
- Lint/RequireParentheses:
929
- Enabled: true
930
-
931
- Lint/RescueException:
932
- Enabled: true
933
-
934
- Lint/ShadowedException:
935
- Enabled: true
936
-
937
- Lint/ShadowingOuterLocalVariable:
938
- Enabled: true
939
-
940
- Lint/RedundantStringCoercion:
941
- Enabled: true
942
-
943
- Lint/UnderscorePrefixedVariableName:
944
- Enabled: true
945
-
946
- Lint/UnifiedInteger:
947
- Enabled: true
948
-
949
- Lint/RedundantCopDisableDirective:
950
- Enabled: true
951
-
952
- Lint/RedundantCopEnableDirective:
953
- Enabled: true
954
-
955
- Lint/RedundantSplatExpansion:
956
- Enabled: true
957
-
958
- Lint/UnreachableCode:
959
- Enabled: true
960
-
961
- Lint/UselessAccessModifier:
962
- ContextCreatingMethods: []
963
-
964
- Lint/UselessAssignment:
965
- Enabled: true
966
-
967
- Lint/UselessComparison:
968
- Enabled: true
969
-
970
- Lint/UselessElseWithoutRescue:
971
- Enabled: true
972
-
973
- Lint/UselessSetterCall:
974
- Enabled: true
975
-
976
- Lint/Void:
977
- Enabled: true
978
-
979
- Security/Eval:
980
- Enabled: true
981
-
982
- Security/JSONLoad:
983
- Enabled: true
984
-
985
- Security/Open:
986
- Enabled: true
987
-
988
- Lint/BigDecimalNew:
989
- Enabled: true
990
-
991
- Style/Strip:
992
- Enabled: true
993
-
994
- Style/TrailingBodyOnClass:
995
- Enabled: true
996
-
997
- Style/TrailingBodyOnModule:
998
- Enabled: true
999
-
1000
- Style/TrailingCommaInArrayLiteral:
1001
- EnforcedStyleForMultiline: comma
1002
- Enabled: true
1003
-
1004
- Style/TrailingCommaInHashLiteral:
1005
- EnforcedStyleForMultiline: comma
1006
- Enabled: true
1007
-
1008
- Layout/SpaceInsideReferenceBrackets:
1009
- EnforcedStyle: no_space
1010
- EnforcedStyleForEmptyBrackets: no_space
1011
- Enabled: true
1012
-
1013
- Style/ModuleFunction:
1014
- EnforcedStyle: extend_self
1015
-
1016
- Lint/OrderedMagicComments:
1017
- Enabled: true