mongodb_meilisearch 1.0.0

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