hubrise_initializer 0.2.9 → 1.0.2

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