doggy 2.0.42 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: acd2bd44733b75a52aa9e5b1a5fb23e432c9a808
4
- data.tar.gz: cf4daaca16048b3ee1845997e22446bb8c395e75
2
+ SHA256:
3
+ metadata.gz: 87467c4f442c2d95e650e8fb3f1f320c408350f5ef56fada248fdd2e9a674ed4
4
+ data.tar.gz: 12c8de2d7d7a8559a4453de243ed5be21e0d1907467ac1a6c7431851d687757d
5
5
  SHA512:
6
- metadata.gz: cd12ae555cd716b121e02f5d150e2d04f5fa48f6d2870f5ec82c4327f43b9f626bd807cf5679ecfc5ed5314c6b29163e9a2b0bb6c4f3cd9a40d9de5f45cf88e4
7
- data.tar.gz: ba102e7b2d6c75f7da242bc306629e24f780d80a8ec6783c4cba780797adc012640c9e1294c547a29f8518392fdad8d07b3ebb3480a73f33934c48ac09938eba
6
+ metadata.gz: f8e8ae8cd44900af561c67a83c4d8c859c9c7e1e9cb28917b7d8ec80e0f85abc760d470b4ef53195d595c3ea845014019ddac10a426e24a65ae03c134c2dd808
7
+ data.tar.gz: 7508043238083e3401b7d1ef21d8ffa43ae3494c7a6f8cc35cba427515300ca09980d29711b7078a5c9ecad912d6dd401ca09e7554ff50e5b945b31cdee0010b
@@ -0,0 +1,1175 @@
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/AlignHash:
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/AlignParameters:
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
+ Style/BracesAroundHashParameters:
80
+ EnforcedStyle: no_braces
81
+ SupportedStyles:
82
+ - braces
83
+ - no_braces
84
+ - context_dependent
85
+
86
+ Layout/CaseIndentation:
87
+ EnforcedStyle: end
88
+ SupportedStyles:
89
+ - case
90
+ - end
91
+ IndentOneStep: false
92
+ IndentationWidth:
93
+
94
+ Style/ClassAndModuleChildren:
95
+ EnforcedStyle: nested
96
+ SupportedStyles:
97
+ - nested
98
+ - compact
99
+
100
+ Style/ClassCheck:
101
+ EnforcedStyle: is_a?
102
+ SupportedStyles:
103
+ - is_a?
104
+ - kind_of?
105
+
106
+ Style/CommandLiteral:
107
+ EnforcedStyle: percent_x
108
+ SupportedStyles:
109
+ - backticks
110
+ - percent_x
111
+ - mixed
112
+ AllowInnerBackticks: false
113
+
114
+ Style/CommentAnnotation:
115
+ Keywords:
116
+ - TODO
117
+ - FIXME
118
+ - OPTIMIZE
119
+ - HACK
120
+ - REVIEW
121
+
122
+ Style/ConditionalAssignment:
123
+ EnforcedStyle: assign_to_condition
124
+ SupportedStyles:
125
+ - assign_to_condition
126
+ - assign_inside_condition
127
+ SingleLineConditionsOnly: true
128
+
129
+ Layout/DotPosition:
130
+ EnforcedStyle: leading
131
+ SupportedStyles:
132
+ - leading
133
+ - trailing
134
+
135
+ Style/EmptyElse:
136
+ EnforcedStyle: both
137
+ SupportedStyles:
138
+ - empty
139
+ - nil
140
+ - both
141
+
142
+ Layout/EmptyLineBetweenDefs:
143
+ AllowAdjacentOneLineDefs: false
144
+
145
+ Layout/EmptyLinesAroundBlockBody:
146
+ EnforcedStyle: no_empty_lines
147
+ SupportedStyles:
148
+ - empty_lines
149
+ - no_empty_lines
150
+
151
+ Layout/EmptyLinesAroundClassBody:
152
+ EnforcedStyle: no_empty_lines
153
+ SupportedStyles:
154
+ - empty_lines
155
+ - empty_lines_except_namespace
156
+ - no_empty_lines
157
+
158
+ Layout/EmptyLinesAroundModuleBody:
159
+ EnforcedStyle: no_empty_lines
160
+ SupportedStyles:
161
+ - empty_lines
162
+ - empty_lines_except_namespace
163
+ - no_empty_lines
164
+
165
+ Layout/ExtraSpacing:
166
+ AllowForAlignment: true
167
+ ForceEqualSignAlignment: false
168
+
169
+ Naming/FileName:
170
+ Exclude: []
171
+ ExpectMatchingDefinition: false
172
+ Regex:
173
+ IgnoreExecutableScripts: true
174
+
175
+ Layout/FirstParameterIndentation:
176
+ EnforcedStyle: consistent
177
+ SupportedStyles:
178
+ - consistent
179
+ - special_for_inner_method_call
180
+ - special_for_inner_method_call_in_parentheses
181
+ IndentationWidth:
182
+
183
+ Style/For:
184
+ EnforcedStyle: each
185
+ SupportedStyles:
186
+ - for
187
+ - each
188
+
189
+ Style/FormatString:
190
+ EnforcedStyle: format
191
+ SupportedStyles:
192
+ - format
193
+ - sprintf
194
+ - percent
195
+
196
+ Style/FrozenStringLiteralComment:
197
+ Details: >-
198
+ Add `# frozen_string_literal: true` to the top of the file. Frozen string
199
+ literals will become the default in a future Ruby version, and we want to
200
+ make sure we're ready.
201
+ EnforcedStyle: when_needed
202
+ SupportedStyles:
203
+ - when_needed
204
+ - always
205
+ - never
206
+
207
+ Style/GlobalVars:
208
+ AllowedVariables: []
209
+
210
+ Style/HashSyntax:
211
+ EnforcedStyle: ruby19
212
+ SupportedStyles:
213
+ - ruby19
214
+ - hash_rockets
215
+ - no_mixed_keys
216
+ - ruby19_no_mixed_keys
217
+ UseHashRocketsWithSymbolValues: false
218
+ PreferHashRocketsForNonAlnumEndingSymbols: false
219
+
220
+ Layout/IndentationConsistency:
221
+ EnforcedStyle: normal
222
+ SupportedStyles:
223
+ - normal
224
+ - rails
225
+
226
+ Layout/IndentationWidth:
227
+ Width: 2
228
+
229
+ Layout/IndentArray:
230
+ EnforcedStyle: consistent
231
+ SupportedStyles:
232
+ - special_inside_parentheses
233
+ - consistent
234
+ - align_brackets
235
+ IndentationWidth:
236
+
237
+ Layout/IndentAssignment:
238
+ IndentationWidth:
239
+
240
+ Layout/IndentHash:
241
+ EnforcedStyle: consistent
242
+ SupportedStyles:
243
+ - special_inside_parentheses
244
+ - consistent
245
+ - align_braces
246
+ IndentationWidth:
247
+
248
+ Style/LambdaCall:
249
+ EnforcedStyle: call
250
+ SupportedStyles:
251
+ - call
252
+ - braces
253
+
254
+ Style/Next:
255
+ EnforcedStyle: skip_modifier_ifs
256
+ MinBodyLength: 3
257
+ SupportedStyles:
258
+ - skip_modifier_ifs
259
+ - always
260
+
261
+ Style/NonNilCheck:
262
+ IncludeSemanticChanges: false
263
+
264
+ Style/MethodCallWithArgsParentheses:
265
+ Enabled: true
266
+ IgnoreMacros: true
267
+ IgnoredMethods:
268
+ - require
269
+ - require_relative
270
+ - require_dependency
271
+ - yield
272
+ - raise
273
+ - puts
274
+ Exclude:
275
+ - Gemfile
276
+
277
+ Style/MethodDefParentheses:
278
+ EnforcedStyle: require_parentheses
279
+ SupportedStyles:
280
+ - require_parentheses
281
+ - require_no_parentheses
282
+ - require_no_parentheses_except_multiline
283
+
284
+ Naming/MethodName:
285
+ EnforcedStyle: snake_case
286
+ SupportedStyles:
287
+ - snake_case
288
+ - camelCase
289
+
290
+ Layout/MultilineArrayBraceLayout:
291
+ EnforcedStyle: symmetrical
292
+ SupportedStyles:
293
+ - symmetrical
294
+ - new_line
295
+ - same_line
296
+
297
+ Layout/MultilineHashBraceLayout:
298
+ EnforcedStyle: symmetrical
299
+ SupportedStyles:
300
+ - symmetrical
301
+ - new_line
302
+ - same_line
303
+
304
+ Layout/MultilineMethodCallBraceLayout:
305
+ EnforcedStyle: symmetrical
306
+ SupportedStyles:
307
+ - symmetrical
308
+ - new_line
309
+ - same_line
310
+
311
+ Layout/MultilineMethodCallIndentation:
312
+ EnforcedStyle: indented
313
+ SupportedStyles:
314
+ - aligned
315
+ - indented
316
+ - indented_relative_to_receiver
317
+ IndentationWidth: 2
318
+
319
+ Layout/MultilineMethodDefinitionBraceLayout:
320
+ EnforcedStyle: symmetrical
321
+ SupportedStyles:
322
+ - symmetrical
323
+ - new_line
324
+ - same_line
325
+
326
+ Style/NumericLiteralPrefix:
327
+ EnforcedOctalStyle: zero_only
328
+ SupportedOctalStyles:
329
+ - zero_with_o
330
+ - zero_only
331
+
332
+ Style/ParenthesesAroundCondition:
333
+ AllowSafeAssignment: true
334
+
335
+ Style/PercentQLiterals:
336
+ EnforcedStyle: lower_case_q
337
+ SupportedStyles:
338
+ - lower_case_q
339
+ - upper_case_q
340
+
341
+ Naming/PredicateName:
342
+ NamePrefix:
343
+ - is_
344
+ NamePrefixBlacklist:
345
+ - is_
346
+ NameWhitelist:
347
+ - is_a?
348
+ Exclude:
349
+ - 'spec/**/*'
350
+
351
+ Style/PreferredHashMethods:
352
+ EnforcedStyle: short
353
+ SupportedStyles:
354
+ - short
355
+ - verbose
356
+
357
+ Style/RaiseArgs:
358
+ EnforcedStyle: exploded
359
+ SupportedStyles:
360
+ - compact
361
+ - exploded
362
+
363
+ Style/RedundantReturn:
364
+ AllowMultipleReturnValues: false
365
+
366
+ Style/RegexpLiteral:
367
+ EnforcedStyle: mixed
368
+ SupportedStyles:
369
+ - slashes
370
+ - percent_r
371
+ - mixed
372
+ AllowInnerSlashes: false
373
+
374
+ Style/SafeNavigation:
375
+ ConvertCodeThatCanStartToReturnNil: false
376
+ Enabled: true
377
+
378
+ Lint/SafeNavigationChain:
379
+ Enabled: true
380
+
381
+ Style/Semicolon:
382
+ AllowAsExpressionSeparator: false
383
+
384
+ Style/SignalException:
385
+ EnforcedStyle: only_raise
386
+ SupportedStyles:
387
+ - only_raise
388
+ - only_fail
389
+ - semantic
390
+
391
+ Style/SingleLineMethods:
392
+ AllowIfMethodIsEmpty: true
393
+
394
+ Layout/SpaceBeforeFirstArg:
395
+ AllowForAlignment: true
396
+
397
+ Style/SpecialGlobalVars:
398
+ EnforcedStyle: use_english_names
399
+ SupportedStyles:
400
+ - use_perl_names
401
+ - use_english_names
402
+
403
+ Style/StabbyLambdaParentheses:
404
+ EnforcedStyle: require_parentheses
405
+ SupportedStyles:
406
+ - require_parentheses
407
+ - require_no_parentheses
408
+
409
+ Style/StringLiteralsInInterpolation:
410
+ EnforcedStyle: single_quotes
411
+ SupportedStyles:
412
+ - single_quotes
413
+ - double_quotes
414
+
415
+ Layout/SpaceAroundBlockParameters:
416
+ EnforcedStyleInsidePipes: no_space
417
+ SupportedStylesInsidePipes:
418
+ - space
419
+ - no_space
420
+
421
+ Layout/SpaceAroundEqualsInParameterDefault:
422
+ EnforcedStyle: space
423
+ SupportedStyles:
424
+ - space
425
+ - no_space
426
+
427
+ Layout/SpaceAroundOperators:
428
+ AllowForAlignment: true
429
+
430
+ Layout/SpaceBeforeBlockBraces:
431
+ EnforcedStyle: space
432
+ EnforcedStyleForEmptyBraces: space
433
+ SupportedStyles:
434
+ - space
435
+ - no_space
436
+
437
+ Layout/SpaceInsideBlockBraces:
438
+ EnforcedStyle: space
439
+ SupportedStyles:
440
+ - space
441
+ - no_space
442
+ EnforcedStyleForEmptyBraces: no_space
443
+ SpaceBeforeBlockParameters: true
444
+
445
+ Layout/SpaceInsideHashLiteralBraces:
446
+ EnforcedStyle: space
447
+ EnforcedStyleForEmptyBraces: no_space
448
+ SupportedStyles:
449
+ - space
450
+ - no_space
451
+ - compact
452
+
453
+ Layout/SpaceInsideStringInterpolation:
454
+ EnforcedStyle: no_space
455
+ SupportedStyles:
456
+ - space
457
+ - no_space
458
+
459
+ Style/SymbolProc:
460
+ IgnoredMethods:
461
+ - respond_to
462
+ - define_method
463
+
464
+ Style/TernaryParentheses:
465
+ EnforcedStyle: require_no_parentheses
466
+ SupportedStyles:
467
+ - require_parentheses
468
+ - require_no_parentheses
469
+ AllowSafeAssignment: true
470
+
471
+ Layout/TrailingBlankLines:
472
+ EnforcedStyle: final_newline
473
+ SupportedStyles:
474
+ - final_newline
475
+ - final_blank_line
476
+
477
+ Style/TrivialAccessors:
478
+ ExactNameMatch: true
479
+ AllowPredicates: true
480
+ AllowDSLWriters: false
481
+ IgnoreClassMethods: false
482
+ Whitelist:
483
+ - to_ary
484
+ - to_a
485
+ - to_c
486
+ - to_enum
487
+ - to_h
488
+ - to_hash
489
+ - to_i
490
+ - to_int
491
+ - to_io
492
+ - to_open
493
+ - to_path
494
+ - to_proc
495
+ - to_r
496
+ - to_regexp
497
+ - to_str
498
+ - to_s
499
+ - to_sym
500
+
501
+ Naming/VariableName:
502
+ EnforcedStyle: snake_case
503
+ SupportedStyles:
504
+ - snake_case
505
+ - camelCase
506
+
507
+ Style/WhileUntilModifier:
508
+ Enabled: true
509
+
510
+ Metrics/BlockNesting:
511
+ Max: 3
512
+
513
+ Metrics/LineLength:
514
+ Max: 120
515
+ AllowHeredoc: true
516
+ AllowURI: true
517
+ URISchemes:
518
+ - http
519
+ - https
520
+ IgnoreCopDirectives: false
521
+ IgnoredPatterns:
522
+ - '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
523
+
524
+ Metrics/ParameterLists:
525
+ Max: 5
526
+ CountKeywordArgs: false
527
+
528
+ Layout/BlockAlignment:
529
+ EnforcedStyleAlignWith: either
530
+ SupportedStylesAlignWith:
531
+ - either
532
+ - start_of_block
533
+ - start_of_line
534
+
535
+ Layout/EndAlignment:
536
+ EnforcedStyleAlignWith: variable
537
+ SupportedStylesAlignWith:
538
+ - keyword
539
+ - variable
540
+ - start_of_line
541
+
542
+ Layout/DefEndAlignment:
543
+ EnforcedStyleAlignWith: start_of_line
544
+ SupportedStylesAlignWith:
545
+ - start_of_line
546
+ - def
547
+
548
+ Lint/InheritException:
549
+ EnforcedStyle: runtime_error
550
+ SupportedStyles:
551
+ - runtime_error
552
+ - standard_error
553
+
554
+ Lint/UnusedBlockArgument:
555
+ IgnoreEmptyBlocks: true
556
+ AllowUnusedKeywordArguments: false
557
+
558
+ Lint/UnusedMethodArgument:
559
+ AllowUnusedKeywordArguments: false
560
+ IgnoreEmptyMethods: true
561
+
562
+ Performance/RedundantMerge:
563
+ MaxKeyValuePairs: 2
564
+
565
+ Rails/ActionFilter:
566
+ EnforcedStyle: action
567
+ SupportedStyles:
568
+ - action
569
+ - filter
570
+ Include:
571
+ - app/controllers/**/*.rb
572
+
573
+ Rails/Date:
574
+ EnforcedStyle: flexible
575
+ SupportedStyles:
576
+ - strict
577
+ - flexible
578
+
579
+ Rails/DynamicFindBy:
580
+ Whitelist:
581
+ - find_by_sql
582
+
583
+ Rails/Exit:
584
+ Include:
585
+ - app/**/*.rb
586
+ - config/**/*.rb
587
+ - lib/**/*.rb
588
+ Exclude:
589
+ - 'lib/**/*.rake'
590
+
591
+ Rails/FindBy:
592
+ Include:
593
+ - app/models/**/*.rb
594
+
595
+ Rails/FindEach:
596
+ Include:
597
+ - app/models/**/*.rb
598
+
599
+ Rails/HasAndBelongsToMany:
600
+ Include:
601
+ - app/models/**/*.rb
602
+
603
+ Rails/NotNullColumn:
604
+ Include:
605
+ - db/migrate/*.rb
606
+
607
+ Rails/Output:
608
+ Include:
609
+ - app/**/*.rb
610
+ - config/**/*.rb
611
+ - db/**/*.rb
612
+ - lib/**/*.rb
613
+
614
+ Rails/ReadWriteAttribute:
615
+ Include:
616
+ - app/models/**/*.rb
617
+
618
+ Rails/RequestReferer:
619
+ EnforcedStyle: referer
620
+ SupportedStyles:
621
+ - referer
622
+ - referrer
623
+
624
+ Rails/SafeNavigation:
625
+ ConvertTry: false
626
+
627
+ Rails/ScopeArgs:
628
+ Include:
629
+ - app/models/**/*.rb
630
+
631
+ Rails/TimeZone:
632
+ EnforcedStyle: flexible
633
+ SupportedStyles:
634
+ - strict
635
+ - flexible
636
+
637
+ Rails/UniqBeforePluck:
638
+ EnforcedStyle: conservative
639
+ SupportedStyles:
640
+ - conservative
641
+ - aggressive
642
+
643
+ Rails/Validation:
644
+ Include:
645
+ - app/models/**/*.rb
646
+
647
+ Naming/AccessorMethodName:
648
+ Enabled: true
649
+
650
+ Layout/AlignArray:
651
+ Enabled: true
652
+
653
+ Style/ArrayJoin:
654
+ Enabled: true
655
+
656
+ Naming/AsciiIdentifiers:
657
+ Enabled: true
658
+
659
+ Style/Attr:
660
+ Enabled: true
661
+
662
+ Style/BeginBlock:
663
+ Enabled: true
664
+
665
+ Style/BlockComments:
666
+ Enabled: true
667
+
668
+ Layout/BlockEndNewline:
669
+ Enabled: true
670
+
671
+ Style/CaseEquality:
672
+ Enabled: true
673
+
674
+ Style/CharacterLiteral:
675
+ Enabled: true
676
+
677
+ Naming/ClassAndModuleCamelCase:
678
+ Enabled: true
679
+
680
+ Style/ClassMethods:
681
+ Enabled: true
682
+
683
+ Style/ClassVars:
684
+ Enabled: true
685
+
686
+ Layout/ClosingParenthesisIndentation:
687
+ Enabled: true
688
+
689
+ Style/ColonMethodCall:
690
+ Enabled: true
691
+
692
+ Layout/CommentIndentation:
693
+ Enabled: true
694
+
695
+ Naming/ConstantName:
696
+ Enabled: true
697
+
698
+ Style/DateTime:
699
+ Enabled: true
700
+
701
+ Style/DefWithParentheses:
702
+ Enabled: true
703
+
704
+ Style/EachForSimpleLoop:
705
+ Enabled: true
706
+
707
+ Style/EachWithObject:
708
+ Enabled: true
709
+
710
+ Layout/ElseAlignment:
711
+ Enabled: true
712
+
713
+ Style/EmptyCaseCondition:
714
+ Enabled: true
715
+
716
+ Layout/EmptyLines:
717
+ Enabled: true
718
+
719
+ Layout/EmptyLinesAroundAccessModifier:
720
+ Enabled: true
721
+
722
+ Layout/EmptyLinesAroundMethodBody:
723
+ Enabled: true
724
+
725
+ Style/EmptyLiteral:
726
+ Enabled: true
727
+
728
+ Style/EndBlock:
729
+ Enabled: true
730
+
731
+ Layout/EndOfLine:
732
+ Enabled: true
733
+
734
+ Style/EvenOdd:
735
+ Enabled: true
736
+
737
+ Layout/InitialIndentation:
738
+ Enabled: true
739
+
740
+ Lint/FlipFlop:
741
+ Enabled: true
742
+
743
+ Style/IfInsideElse:
744
+ Enabled: true
745
+
746
+ Style/IfUnlessModifierOfIfUnless:
747
+ Enabled: true
748
+
749
+ Style/IfWithSemicolon:
750
+ Enabled: true
751
+
752
+ Style/IdenticalConditionalBranches:
753
+ Enabled: true
754
+
755
+ Style/InfiniteLoop:
756
+ Enabled: true
757
+
758
+ Layout/LeadingCommentSpace:
759
+ Enabled: true
760
+
761
+ Style/LineEndConcatenation:
762
+ Enabled: true
763
+
764
+ Style/MethodCallWithoutArgsParentheses:
765
+ Enabled: true
766
+
767
+ Style/MethodMissingSuper:
768
+ Enabled: true
769
+
770
+ Style/MissingRespondToMissing:
771
+ Enabled: true
772
+
773
+ Layout/MultilineBlockLayout:
774
+ Enabled: true
775
+
776
+ Style/MultilineIfThen:
777
+ Enabled: true
778
+
779
+ Style/MultilineMemoization:
780
+ Enabled: true
781
+
782
+ Style/MultilineTernaryOperator:
783
+ Enabled: true
784
+
785
+ Style/NegatedIf:
786
+ Enabled: true
787
+
788
+ Style/NegatedWhile:
789
+ Enabled: true
790
+
791
+ Style/NestedModifier:
792
+ Enabled: true
793
+
794
+ Style/NestedParenthesizedCalls:
795
+ Enabled: true
796
+
797
+ Style/NestedTernaryOperator:
798
+ Enabled: true
799
+
800
+ Style/NilComparison:
801
+ Enabled: true
802
+
803
+ Style/Not:
804
+ Enabled: true
805
+
806
+ Style/OneLineConditional:
807
+ Enabled: true
808
+
809
+ Naming/BinaryOperatorParameterName:
810
+ Enabled: true
811
+
812
+ Style/OptionalArguments:
813
+ Enabled: true
814
+
815
+ Style/ParallelAssignment:
816
+ Enabled: true
817
+
818
+ Style/PerlBackrefs:
819
+ Enabled: true
820
+
821
+ Style/Proc:
822
+ Enabled: true
823
+
824
+ Style/RedundantBegin:
825
+ Enabled: true
826
+
827
+ Style/RedundantException:
828
+ Enabled: true
829
+
830
+ Style/RedundantFreeze:
831
+ Enabled: true
832
+
833
+ Style/RedundantParentheses:
834
+ Enabled: true
835
+
836
+ Style/RedundantSelf:
837
+ Enabled: true
838
+
839
+ Layout/RescueEnsureAlignment:
840
+ Enabled: true
841
+
842
+ Style/RescueModifier:
843
+ Enabled: true
844
+
845
+ Style/SelfAssignment:
846
+ Enabled: true
847
+
848
+ Layout/SpaceAfterColon:
849
+ Enabled: true
850
+
851
+ Layout/SpaceAfterComma:
852
+ Enabled: true
853
+
854
+ Layout/SpaceAfterMethodName:
855
+ Enabled: true
856
+
857
+ Layout/SpaceAfterNot:
858
+ Enabled: true
859
+
860
+ Layout/SpaceAfterSemicolon:
861
+ Enabled: true
862
+
863
+ Layout/SpaceBeforeComma:
864
+ Enabled: true
865
+
866
+ Layout/SpaceBeforeComment:
867
+ Enabled: true
868
+
869
+ Layout/SpaceBeforeSemicolon:
870
+ Enabled: true
871
+
872
+ Layout/SpaceAroundKeyword:
873
+ Enabled: true
874
+
875
+ Layout/SpaceInsideArrayPercentLiteral:
876
+ Enabled: true
877
+
878
+ Layout/SpaceInsidePercentLiteralDelimiters:
879
+ Enabled: true
880
+
881
+ Layout/SpaceInsideArrayLiteralBrackets:
882
+ Enabled: true
883
+
884
+ Layout/SpaceInsideParens:
885
+ Enabled: true
886
+
887
+ Layout/SpaceInsideRangeLiteral:
888
+ Enabled: true
889
+
890
+ Style/SymbolLiteral:
891
+ Enabled: true
892
+
893
+ Layout/Tab:
894
+ Enabled: true
895
+
896
+ Layout/TrailingWhitespace:
897
+ Enabled: true
898
+
899
+ Style/UnlessElse:
900
+ Enabled: true
901
+
902
+ Style/UnneededCapitalW:
903
+ Enabled: true
904
+
905
+ Style/UnneededInterpolation:
906
+ Enabled: true
907
+
908
+ Style/UnneededPercentQ:
909
+ Enabled: true
910
+
911
+ Style/VariableInterpolation:
912
+ Enabled: true
913
+
914
+ Style/WhenThen:
915
+ Enabled: true
916
+
917
+ Style/WhileUntilDo:
918
+ Enabled: true
919
+
920
+ Style/ZeroLengthPredicate:
921
+ Enabled: true
922
+
923
+ Layout/IndentHeredoc:
924
+ EnforcedStyle: squiggly
925
+
926
+ Lint/AmbiguousOperator:
927
+ Enabled: true
928
+
929
+ Lint/AmbiguousRegexpLiteral:
930
+ Enabled: true
931
+
932
+ Lint/CircularArgumentReference:
933
+ Enabled: true
934
+
935
+ Layout/ConditionPosition:
936
+ Enabled: true
937
+
938
+ Lint/Debugger:
939
+ Enabled: true
940
+
941
+ Lint/DeprecatedClassMethods:
942
+ Enabled: true
943
+
944
+ Lint/DuplicateMethods:
945
+ Enabled: true
946
+
947
+ Lint/DuplicatedKey:
948
+ Enabled: true
949
+
950
+ Lint/EachWithObjectArgument:
951
+ Enabled: true
952
+
953
+ Lint/ElseLayout:
954
+ Enabled: true
955
+
956
+ Lint/EmptyEnsure:
957
+ Enabled: true
958
+
959
+ Lint/EmptyInterpolation:
960
+ Enabled: true
961
+
962
+ Lint/EndInMethod:
963
+ Enabled: true
964
+
965
+ Lint/EnsureReturn:
966
+ Enabled: true
967
+
968
+ Lint/FloatOutOfRange:
969
+ Enabled: true
970
+
971
+ Lint/FormatParameterMismatch:
972
+ Enabled: true
973
+
974
+ Lint/HandleExceptions:
975
+ Enabled: true
976
+
977
+ Lint/ImplicitStringConcatenation:
978
+ Description: Checks for adjacent string literals on the same line, which could
979
+ better be represented as a single string literal.
980
+
981
+ Lint/IneffectiveAccessModifier:
982
+ Description: Checks for attempts to use `private` or `protected` to set the visibility
983
+ of a class method, which does not work.
984
+
985
+ Lint/LiteralAsCondition:
986
+ Enabled: true
987
+
988
+ Lint/LiteralInInterpolation:
989
+ Enabled: true
990
+
991
+ Lint/Loop:
992
+ Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
993
+ for post-loop tests.
994
+
995
+ Lint/NestedMethodDefinition:
996
+ Enabled: true
997
+
998
+ Lint/NextWithoutAccumulator:
999
+ Description: Do not omit the accumulator when calling `next` in a `reduce`/`inject`
1000
+ block.
1001
+
1002
+ Lint/NonLocalExitFromIterator:
1003
+ Enabled: true
1004
+
1005
+ Lint/ParenthesesAsGroupedExpression:
1006
+ Enabled: true
1007
+
1008
+ Lint/PercentStringArray:
1009
+ Enabled: true
1010
+
1011
+ Lint/PercentSymbolArray:
1012
+ Enabled: true
1013
+
1014
+ Lint/RandOne:
1015
+ Description: Checks for `rand(1)` calls. Such calls always return `0` and most
1016
+ likely a mistake.
1017
+
1018
+ Lint/RequireParentheses:
1019
+ Enabled: true
1020
+
1021
+ Lint/RescueException:
1022
+ Enabled: true
1023
+
1024
+ Lint/ShadowedException:
1025
+ Enabled: true
1026
+
1027
+ Lint/ShadowingOuterLocalVariable:
1028
+ Enabled: true
1029
+
1030
+ Lint/StringConversionInInterpolation:
1031
+ Enabled: true
1032
+
1033
+ Lint/UnderscorePrefixedVariableName:
1034
+ Enabled: true
1035
+
1036
+ Lint/UnifiedInteger:
1037
+ Enabled: true
1038
+
1039
+ Lint/UnneededCopDisableDirective:
1040
+ Enabled: true
1041
+
1042
+ Lint/UnneededCopEnableDirective:
1043
+ Enabled: true
1044
+
1045
+ Lint/UnneededSplatExpansion:
1046
+ Enabled: true
1047
+
1048
+ Lint/UnreachableCode:
1049
+ Enabled: true
1050
+
1051
+ Lint/UselessAccessModifier:
1052
+ ContextCreatingMethods: []
1053
+
1054
+ Lint/UselessAssignment:
1055
+ Enabled: true
1056
+
1057
+ Lint/UselessComparison:
1058
+ Enabled: true
1059
+
1060
+ Lint/UselessElseWithoutRescue:
1061
+ Enabled: true
1062
+
1063
+ Lint/UselessSetterCall:
1064
+ Enabled: true
1065
+
1066
+ Lint/Void:
1067
+ Enabled: true
1068
+
1069
+ Performance/CaseWhenSplat:
1070
+ Enabled: true
1071
+
1072
+ Performance/Count:
1073
+ SafeMode: true
1074
+
1075
+ Performance/Detect:
1076
+ SafeMode: true
1077
+
1078
+ Performance/DoubleStartEndWith:
1079
+ Enabled: true
1080
+
1081
+ Performance/EndWith:
1082
+ Enabled: true
1083
+
1084
+ Performance/FixedSize:
1085
+ Enabled: true
1086
+
1087
+ Performance/FlatMap:
1088
+ EnabledForFlattenWithoutParams: false
1089
+
1090
+ Performance/RangeInclude:
1091
+ Enabled: true
1092
+
1093
+ Performance/RedundantMatch:
1094
+ Enabled: true
1095
+
1096
+ Performance/RedundantSortBy:
1097
+ Enabled: true
1098
+
1099
+ Performance/RegexpMatch:
1100
+ Enabled: true
1101
+
1102
+ Performance/ReverseEach:
1103
+ Enabled: true
1104
+
1105
+ Performance/Sample:
1106
+ Enabled: true
1107
+
1108
+ Performance/Size:
1109
+ Enabled: true
1110
+
1111
+ Performance/CompareWithBlock:
1112
+ Enabled: true
1113
+
1114
+ Performance/StartWith:
1115
+ Enabled: true
1116
+
1117
+ Performance/StringReplacement:
1118
+ Enabled: true
1119
+
1120
+ Rails/DelegateAllowBlank:
1121
+ Enabled: true
1122
+
1123
+ Rails/HttpPositionalArguments:
1124
+ Include:
1125
+ - spec/**/*
1126
+ - test/**/*
1127
+
1128
+ Rails/InverseOf:
1129
+ Enabled: true
1130
+
1131
+ Rails/OutputSafety:
1132
+ Enabled: true
1133
+
1134
+ Rails/PluralizationGrammar:
1135
+ Enabled: true
1136
+
1137
+ Security/Eval:
1138
+ Enabled: true
1139
+
1140
+ Security/JSONLoad:
1141
+ Enabled: true
1142
+
1143
+ Security/Open:
1144
+ Enabled: true
1145
+
1146
+ Lint/BigDecimalNew:
1147
+ Enabled: true
1148
+
1149
+ Style/Strip:
1150
+ Enabled: true
1151
+
1152
+ Style/TrailingBodyOnClass:
1153
+ Enabled: true
1154
+
1155
+ Style/TrailingBodyOnModule:
1156
+ Enabled: true
1157
+
1158
+ Style/TrailingCommaInArrayLiteral:
1159
+ EnforcedStyleForMultiline: comma
1160
+ Enabled: true
1161
+
1162
+ Style/TrailingCommaInHashLiteral:
1163
+ EnforcedStyleForMultiline: comma
1164
+ Enabled: true
1165
+
1166
+ Layout/SpaceInsideReferenceBrackets:
1167
+ EnforcedStyle: no_space
1168
+ EnforcedStyleForEmptyBrackets: no_space
1169
+ Enabled: true
1170
+
1171
+ Style/ModuleFunction:
1172
+ EnforcedStyle: extend_self
1173
+
1174
+ Lint/OrderedMagicComments:
1175
+ Enabled: true