forked from newrelic/newrelic-ruby-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
1725 lines (1259 loc) · 28.3 KB
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
inherit_from: .rubocop_todo.yml
require:
# Default minitest configurations: https://github.com/rubocop/rubocop-minitest/blob/master/config/default.yml
- rubocop-minitest
# Default performance configurations: https://github.com/rubocop/rubocop-performance/blob/master/config/default.yml
- rubocop-performance
# Default rake configurations: https://github.com/rubocop/rubocop-rake/blob/master/config/default.yml
- rubocop-rake
AllCops:
TargetRubyVersion: 2.7
# Rubocop shouldn't run on auto generated files.
Exclude:
- 'test/multiverse/suites/active_record/db/schema.rb'
- 'test/multiverse/suites/active_record_pg/db/schema.rb'
NewCops: enable
Bundler/DuplicatedGem:
Enabled: true
Include:
- '**/*.gemfile'
- '**/Gemfile'
- '**/gems.rb'
- '**/*.gemspec'
Bundler/GemComment:
Enabled: false
Bundler/GemFilename:
Enabled: false
Bundler/GemVersion:
Enabled: false
Bundler/InsecureProtocolSource:
Enabled: true
Include:
- '**/*.gemfile'
- '**/Gemfile'
- '**/gems.rb'
Bundler/OrderedGems:
Enabled: false
Gemspec/DeprecatedAttributeAssignment:
Enabled: true
Gemspec/DuplicatedAssignment:
Enabled: true
Include:
- '**/*.gemspec'
Gemspec/OrderedDependencies:
Enabled: false
Gemspec/RequireMFA:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
Gemspec/RubyVersionGlobalsUsage:
Enabled: false
Layout/AccessModifierIndentation:
Enabled: true
EnforcedStyle: indent
IndentationWidth: ~
Layout/ArgumentAlignment:
Enabled: true
EnforcedStyle: with_fixed_indentation
Layout/ArrayAlignment:
Enabled: true
EnforcedStyle: with_fixed_indentation
Layout/AssignmentIndentation:
Enabled: true
IndentationWidth: ~
Layout/BeginEndAlignment:
Enabled: true
EnforcedStyleAlignWith: start_of_line
AutoCorrect: true
Severity: warning
Layout/BlockAlignment:
Enabled: true
EnforcedStyleAlignWith: either
Layout/BlockEndNewline:
Enabled: true
Layout/CaseIndentation:
# Disabled because IndentOneStep can't be configured for one-liner cases. See:
# https://github.com/rubocop-hq/rubocop/issues/6447
Enabled: false
Layout/ClassStructure:
Enabled: false
Layout/ClosingHeredocIndentation:
Enabled: true
Layout/ClosingParenthesisIndentation:
Enabled: true
Layout/CommentIndentation:
Enabled: true
Layout/DefEndAlignment:
Enabled: true
EnforcedStyleAlignWith: start_of_line
AutoCorrect: true
Severity: warning
Layout/DotPosition:
Enabled: true
EnforcedStyle: leading
Layout/ElseAlignment:
Enabled: true
Layout/EmptyComment:
Enabled: true
AllowBorderComment: true
AllowMarginComment: true
Layout/EmptyLineAfterMultilineCondition:
Enabled: false
Layout/EmptyLines:
Enabled: true
Layout/EmptyLinesAroundAccessModifier:
Enabled: true
Layout/EmptyLinesAroundArguments:
Enabled: true
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: false
Layout/EmptyLinesAroundBeginBody:
Enabled: true
Layout/EmptyLinesAroundBlockBody:
Enabled: true
EnforcedStyle: no_empty_lines
Layout/EmptyLinesAroundClassBody:
Enabled: true
EnforcedStyle: no_empty_lines
Layout/EmptyLinesAroundExceptionHandlingKeywords:
Enabled: true
Layout/EmptyLinesAroundMethodBody:
Enabled: true
Layout/EmptyLinesAroundModuleBody:
Enabled: true
EnforcedStyle: no_empty_lines
Layout/EndAlignment:
Enabled: true
AutoCorrect: true
EnforcedStyleAlignWith: variable
Severity: warning
Layout/EndOfLine:
Enabled: true
EnforcedStyle: native
Layout/ExtraSpacing:
Enabled: true
AllowForAlignment: false
AllowBeforeTrailingComments: false
ForceEqualSignAlignment: false
Layout/FirstArgumentIndentation:
Enabled: true
EnforcedStyle: consistent
IndentationWidth: ~
Layout/FirstArrayElementIndentation:
Enabled: true
EnforcedStyle: consistent
IndentationWidth: ~
Layout/FirstArrayElementLineBreak:
Enabled: false
Layout/FirstHashElementIndentation:
Enabled: true
EnforcedStyle: consistent
IndentationWidth: ~
Layout/FirstHashElementLineBreak:
Enabled: false
Layout/FirstMethodArgumentLineBreak:
Enabled: false
Layout/FirstMethodParameterLineBreak:
Enabled: false
Layout/FirstParameterIndentation:
Enabled: false
Layout/HashAlignment:
Enabled: true
EnforcedHashRocketStyle: key
EnforcedColonStyle: key
EnforcedLastArgumentHashStyle: always_inspect
Layout/HeredocArgumentClosingParenthesis:
Enabled: false
Layout/IndentationConsistency:
Enabled: true
EnforcedStyle: normal
Layout/IndentationStyle:
Enabled: true
IndentationWidth: ~
Layout/IndentationWidth:
Enabled: true
Width: 2
AllowedPatterns: []
Layout/InitialIndentation:
Enabled: true
Layout/LeadingCommentSpace:
Enabled: true
Layout/LeadingEmptyLines:
Enabled: true
Layout/LineEndStringConcatenationIndentation:
Enabled: false
Layout/LineLength:
# TODO: get this down to something closer to the 80 col ideal
# we should be able to manage 120
Max: 576
Layout/MultilineArrayBraceLayout:
Enabled: true
EnforcedStyle: symmetrical
Layout/MultilineArrayLineBreaks:
Enabled: false
Layout/MultilineAssignmentLayout:
Enabled: false
Layout/MultilineBlockLayout:
Enabled: true
Layout/MultilineHashBraceLayout:
Enabled: true
EnforcedStyle: symmetrical
Layout/MultilineHashKeyLineBreaks:
Enabled: false
Layout/MultilineMethodArgumentLineBreaks:
Enabled: false
Layout/MultilineMethodCallBraceLayout:
Enabled: true
EnforcedStyle: symmetrical
Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented
IndentationWidth: ~
Layout/MultilineMethodDefinitionBraceLayout:
Enabled: true
EnforcedStyle: symmetrical
Layout/MultilineOperationIndentation:
Enabled: true
EnforcedStyle: indented
IndentationWidth: ~
Layout/ParameterAlignment:
Enabled: true
EnforcedStyle: with_fixed_indentation
IndentationWidth: ~
Layout/RedundantLineBreak:
Enabled: false
Layout/RescueEnsureAlignment:
Enabled: true
Layout/SingleLineBlockChain:
Enabled: false
Layout/SpaceAfterColon:
Enabled: true
Layout/SpaceAfterComma:
Enabled: true
Layout/SpaceAfterMethodName:
Enabled: true
Layout/SpaceAfterNot:
Enabled: true
Layout/SpaceAfterSemicolon:
Enabled: true
Layout/SpaceAroundBlockParameters:
Enabled: true
EnforcedStyleInsidePipes: no_space
Layout/SpaceAroundEqualsInParameterDefault:
Enabled: true
EnforcedStyle: space
Layout/SpaceAroundKeyword:
Enabled: true
Layout/SpaceAroundMethodCallOperator:
Enabled: true
Layout/SpaceAroundOperators:
Enabled: true
AllowForAlignment: true
Layout/SpaceBeforeBlockBraces:
Enabled: true
EnforcedStyle: space
EnforcedStyleForEmptyBraces: space
Layout/SpaceBeforeBrackets:
Enabled: false
Layout/SpaceBeforeComma:
Enabled: true
Layout/SpaceBeforeComment:
Enabled: true
Layout/SpaceBeforeFirstArg:
Enabled: true
AllowForAlignment: true
Layout/SpaceBeforeSemicolon:
Enabled: true
Layout/SpaceInsideArrayLiteralBrackets:
Enabled: true
EnforcedStyle: no_space
EnforcedStyleForEmptyBrackets: no_space
Layout/SpaceInsideArrayPercentLiteral:
Enabled: true
Layout/SpaceInsideBlockBraces:
Enabled: true
EnforcedStyle: space
EnforcedStyleForEmptyBraces: no_space
SpaceBeforeBlockParameters: true
Layout/SpaceInsideHashLiteralBraces:
Enabled: true
EnforcedStyle: no_space
EnforcedStyleForEmptyBraces: no_space
Layout/SpaceInsideParens:
Enabled: true
EnforcedStyle: no_space
Layout/SpaceInsideRangeLiteral:
Enabled: true
Layout/SpaceInsideReferenceBrackets:
Enabled: true
EnforcedStyle: no_space
EnforcedStyleForEmptyBrackets: no_space
Layout/SpaceInsideStringInterpolation:
Enabled: true
EnforcedStyle: no_space
Layout/TrailingEmptyLines:
Enabled: true
EnforcedStyle: final_newline
Layout/TrailingWhitespace:
Enabled: true
AllowInHeredoc: true
Lint/AmbiguousAssignment:
Enabled: true
Lint/AmbiguousBlockAssociation:
Enabled: false
Lint/AmbiguousOperatorPrecedence:
Enabled: false
Lint/AmbiguousRange:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
Lint/BigDecimalNew:
Enabled: true
Lint/BinaryOperatorWithIdenticalOperands:
Enabled: false
Lint/CircularArgumentReference:
Enabled: true
Lint/ConstantDefinitionInBlock:
Enabled: false
Lint/ConstantResolution:
Enabled: false
Lint/Debugger:
Enabled: true
Lint/DeprecatedConstants:
Enabled: true
Lint/DeprecatedOpenSSLConstant:
Enabled: true
Lint/DisjunctiveAssignmentInConstructor:
Enabled: false
Lint/DuplicateBranch:
Enabled: false
Lint/DuplicateElsifCondition:
Enabled: true
Lint/DuplicateHashKey:
Enabled: true
Lint/DuplicateRegexpCharacterClassElement:
Enabled: true
Lint/DuplicateRequire:
Enabled: true
Lint/DuplicateRescueException:
Enabled: true
Lint/EachWithObjectArgument:
Enabled: true
Lint/ElseLayout:
Enabled: true
Lint/EmptyBlock:
Enabled: false
Lint/EmptyClass:
Enabled: false
Lint/EmptyConditionalBody:
Enabled: false
Lint/EmptyExpression:
Enabled: true
Lint/EmptyFile:
Enabled: false
Lint/EmptyInPattern:
Enabled: false
Lint/EmptyInterpolation:
Enabled: true
Lint/EmptyWhen:
Enabled: true
AllowComments: true
Lint/ErbNewArguments:
Enabled: true
Lint/FlipFlop:
Enabled: true
# Disabling for now
Lint/FloatComparison:
Enabled: false
Lint/FloatOutOfRange:
Enabled: true
Lint/FormatParameterMismatch:
Enabled: true
Lint/HashCompareByIdentity:
Enabled: false
Lint/HeredocMethodCallPosition:
Enabled: false
Lint/IdentityComparison:
Enabled: true
Lint/ImplicitStringConcatenation:
Enabled: true
# Disabling for now
Lint/IneffectiveAccessModifier:
Enabled: false
# Disabling for now
Lint/InheritException:
Enabled: false
# EnforcedStyle: runtime_error
# Disabling for now
Lint/InterpolationCheck:
Enabled: false
Lint/LambdaWithoutLiteralBlock:
Enabled: false
Lint/LiteralAsCondition:
Enabled: true
Lint/LiteralInInterpolation:
Enabled: true
Lint/Loop:
Enabled: true
Lint/MissingCopEnableDirective:
Enabled: true
MaximumRangeSize: .inf
Lint/MissingSuper:
Enabled: false
Lint/MixedRegexpCaptureTypes:
Enabled: true
Lint/MultipleComparison:
Enabled: true
# Disabling for now
Lint/NestedMethodDefinition:
Enabled: false
Lint/NestedPercentLiteral:
Enabled: true
Lint/NextWithoutAccumulator:
Enabled: true
Lint/NoReturnInBeginEndBlocks:
Enabled: false
# Disabling for now
Lint/NonDeterministicRequireOrder:
Enabled: false
# Disabling for now
Lint/NonLocalExitFromIterator:
Enabled: false
Lint/NumberConversion:
Enabled: false
Lint/NumberedParameterAssignment:
Enabled: true
Lint/OrAssignmentToConstant:
Enabled: false
Lint/OrderedMagicComments:
Enabled: true
Lint/OutOfRangeRegexpRef:
Enabled: true
# Disabling for now
Lint/ParenthesesAsGroupedExpression:
Enabled: false
Lint/PercentStringArray:
Enabled: false
Lint/PercentSymbolArray:
Enabled: true
# Disabling for now
Lint/RaiseException:
Enabled: false
Lint/RandOne:
Enabled: true
Lint/RedundantCopDisableDirective:
Enabled: true
Lint/RedundantCopEnableDirective:
Enabled: false
Lint/RedundantDirGlobSort:
Enabled: false
# Disabling for now
Lint/RedundantRequireStatement:
Enabled: false
Lint/RedundantSafeNavigation:
Enabled: false
# Disabling for now
Lint/RedundantSplatExpansion:
Enabled: false
# Disabling for now
Lint/RedundantStringCoercion:
Enabled: false
Lint/RedundantWithIndex:
Enabled: true
Lint/RedundantWithObject:
Enabled: true
Lint/RegexpAsCondition:
Enabled: true
Lint/RequireParentheses:
Enabled: true
# Disabling for now
Lint/RescueException:
Enabled: false
Lint/RescueType:
Enabled: true
Lint/ReturnInVoidContext:
Enabled: true
Lint/SafeNavigationChain:
Enabled: true
AllowedMethods:
- present?
- blank?
- presence
- try
- try!
Lint/SafeNavigationConsistency:
Enabled: true
AllowedMethods:
- present?
- blank?
- presence
- try
- try!
Lint/SafeNavigationWithEmpty:
Enabled: true
Lint/ScriptPermission:
Enabled: false
Lint/SelfAssignment:
Enabled: true
Lint/SendWithMixinArgument:
Enabled: false
# Disabling for now
Lint/ShadowedArgument:
Enabled: false
# IgnoreImplicitReferences: false
# Disabling for now
Lint/ShadowedException:
Enabled: false
Lint/ShadowingOuterLocalVariable:
Enabled: false
Lint/StructNewOverride:
Enabled: false
Lint/SuppressedException:
Enabled: false
# Disabling for now
Lint/SymbolConversion:
Enabled: false
Lint/Syntax:
Enabled: true
Lint/ToEnumArguments:
Enabled: false
Lint/ToJSON:
Enabled: false
Lint/TopLevelReturnWithArgument:
Enabled: true
Lint/TrailingCommaInAttributeDeclaration:
Enabled: true
Lint/TripleQuotes:
Enabled: true
# Disabling for now
Lint/UnderscorePrefixedVariableName:
Enabled: false
Lint/UnexpectedBlockArity:
Enabled: false
# Disabling for now
Lint/UnifiedInteger:
Enabled: false
Lint/UnmodifiedReduceAccumulator:
Enabled: false
# Disabling for now
Lint/UnreachableCode:
Enabled: false
Lint/UnreachableLoop:
Enabled: false
Lint/UnusedBlockArgument:
Enabled: false
Lint/UnusedMethodArgument:
Enabled: false
Lint/UriEscapeUnescape:
Enabled: true
Lint/UriRegexp:
Enabled: true
Lint/UselessAccessModifier:
Enabled: false
# Disabling for now
Lint/UselessAssignment:
Enabled: false
Lint/UselessMethodDefinition:
Enabled: false
Lint/UselessSetterCall:
Enabled: true
# Disabling for now
Lint/UselessTimes:
Enabled: false
# Disabling for now
Lint/Void:
Enabled: false
# CheckForMethodsWithNoSideEffects: false
Lint/IncompatibleIoSelectWithFiberScheduler:
Enabled: false
Lint/RequireRelativeSelfPath:
Enabled: true
Metrics/BlockLength:
Enabled: false
Metrics/BlockNesting:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Migration/DepartmentName:
Enabled: true
Naming/AccessorMethodName:
Enabled: false
Naming/AsciiIdentifiers:
Enabled: false
# Disabling for now
Naming/BinaryOperatorParameterName:
Enabled: false
Naming/BlockParameterName:
Enabled: true
MinNameLength: 1
AllowNamesEndingInNumbers: true
AllowedNames: []
ForbiddenNames: []
Naming/ClassAndModuleCamelCase:
Enabled: true
Naming/ConstantName:
Enabled: true
Naming/FileName:
Enabled: false
Naming/HeredocDelimiterCase:
Enabled: true
EnforcedStyle: uppercase
Naming/HeredocDelimiterNaming:
Enabled: false
Naming/InclusiveLanguage:
Enabled: false
Naming/MemoizedInstanceVariableName:
Enabled: false
Naming/MethodName:
Enabled: false
Naming/MethodParameterName:
Enabled: false
Naming/PredicateName:
Enabled: false
Naming/RescuedExceptionsVariableName:
Enabled: false
Naming/VariableName:
Enabled: false
# EnforcedStyle: snake_case
Naming/VariableNumber:
Enabled: false
# TODO: OLD RUBIES - Requires 2.7
Performance/BindCall:
Enabled: false
# TODO: OLD RUBIES - Requites 2.5
Performance/DeletePrefix:
Enabled: false
# TODO: OLD RUBIES - Requires 2.7
Performance/MapCompact:
Enabled: false
# TODO: Enable when time can be spent on it (no autocorrect)
Performance/MethodObjectAsBlock:
Enabled: false
# Disabling for now
Security/Eval:
Enabled: false
# Disabling for now
Security/JSONLoad:
Enabled: false
# AutoCorrect: false
# SafeAutoCorrect: false
Security/MarshalLoad:
Enabled: false
Security/Open:
Enabled: true
Safe: false
# Disabling for now
Security/YAMLLoad:
Enabled: false
# SafeAutoCorrect: false
Security/IoMethods:
Enabled: false
Safe: false
# raised unrecognized cop or department
# Standard/BlockSingleLineBraces:
# Enabled: true
Style/AccessModifierDeclarations:
Enabled: false
Style/AccessorGrouping:
Enabled: false
# Disabling for now
Style/Alias:
Enabled: false
# EnforcedStyle: prefer_alias_method
# Disabling for now
Style/AndOr:
Enabled: false
# Disabled for support of older ruby versions
Style/ArgumentsForwarding:
Enabled: false
Style/ArrayCoercion:
Enabled: false
Style/ArrayJoin:
Enabled: true
Style/AsciiComments:
Enabled: false
Style/Attr:
Enabled: true
Style/AutoResourceCleanup:
Enabled: false
# Disabling for now
Style/BarePercentLiterals:
Enabled: false
EnforcedStyle: bare_percent
Style/BeginBlock:
Enabled: true
Style/BisectedAttrAccessor:
Enabled: false
Style/BlockComments:
Enabled: true
Style/BlockDelimiters:
Enabled: false
Style/CaseEquality:
Enabled: false
Style/CaseLikeIf:
Enabled: false
Style/CharacterLiteral:
Enabled: true
Style/ClassAndModuleChildren:
Enabled: false
# Disabling for now
Style/ClassCheck:
Enabled: false
# EnforcedStyle: is_a?
# Disabling for now
Style/ClassEqualityComparison:
Enabled: false
Style/ClassMethods:
Enabled: true
Style/ClassMethodsDefinitions:
Enabled: false
Style/ClassVars: