standard-mkv 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/test.yml +27 -0
  3. data/.gitignore +9 -0
  4. data/.standard.yml +4 -0
  5. data/CHANGELOG.md +304 -0
  6. data/Gemfile +13 -0
  7. data/Gemfile.lock +64 -0
  8. data/LICENSE.txt +25 -0
  9. data/README.md +451 -0
  10. data/Rakefile +12 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +8 -0
  13. data/config/base.yml +1205 -0
  14. data/config/ruby-1.8.yml +7 -0
  15. data/config/ruby-1.9.yml +7 -0
  16. data/config/ruby-2.2.yml +5 -0
  17. data/config/ruby-2.3.yml +1 -0
  18. data/config/ruby-2.4.yml +4 -0
  19. data/config/ruby-2.5.yml +7 -0
  20. data/config/ruby-2.7.yml +7 -0
  21. data/docs/RELEASE.md +42 -0
  22. data/exe/standardrb +7 -0
  23. data/lib/standard/builds_config.rb +36 -0
  24. data/lib/standard/cli.rb +17 -0
  25. data/lib/standard/cop/block_single_line_braces.rb +96 -0
  26. data/lib/standard/creates_config_store/assigns_rubocop_yaml.rb +34 -0
  27. data/lib/standard/creates_config_store/configures_ignored_paths.rb +45 -0
  28. data/lib/standard/creates_config_store/sets_target_ruby_version.rb +25 -0
  29. data/lib/standard/creates_config_store.rb +23 -0
  30. data/lib/standard/detects_fixability.rb +16 -0
  31. data/lib/standard/file_finder.rb +13 -0
  32. data/lib/standard/formatter.rb +90 -0
  33. data/lib/standard/loads_runner.rb +9 -0
  34. data/lib/standard/loads_yaml_config.rb +59 -0
  35. data/lib/standard/merges_settings.rb +68 -0
  36. data/lib/standard/parses_cli_option.rb +21 -0
  37. data/lib/standard/railtie.rb +11 -0
  38. data/lib/standard/rake.rb +26 -0
  39. data/lib/standard/rubocop/ext.rb +16 -0
  40. data/lib/standard/runners/genignore.rb +44 -0
  41. data/lib/standard/runners/help.rb +45 -0
  42. data/lib/standard/runners/rubocop.rb +19 -0
  43. data/lib/standard/runners/version.rb +9 -0
  44. data/lib/standard/version.rb +3 -0
  45. data/lib/standard.rb +13 -0
  46. data/standard.gemspec +24 -0
  47. metadata +118 -0
data/config/base.yml ADDED
@@ -0,0 +1,1205 @@
1
+ require:
2
+ - rubocop-performance
3
+
4
+ AllCops:
5
+ # Prevent RuboCop from exploding when it finds an older-than-2.4 .ruby-version
6
+ TargetRubyVersion: 2.5
7
+ DisabledByDefault: true
8
+ Exclude: []
9
+
10
+ Bundler/DuplicatedGem:
11
+ Enabled: true
12
+ Include:
13
+ - '**/*.gemfile'
14
+ - '**/Gemfile'
15
+ - '**/gems.rb'
16
+
17
+ Bundler/InsecureProtocolSource:
18
+ Enabled: true
19
+ Include:
20
+ - '**/*.gemfile'
21
+ - '**/Gemfile'
22
+ - '**/gems.rb'
23
+
24
+ Gemspec/DateAssignment:
25
+ Enabled: true
26
+
27
+ Gemspec/DuplicatedAssignment:
28
+ Enabled: true
29
+ Include:
30
+ - '**/*.gemspec'
31
+
32
+ Layout/AccessModifierIndentation:
33
+ Enabled: true
34
+ EnforcedStyle: indent
35
+ IndentationWidth: ~
36
+
37
+ Layout/ArgumentAlignment:
38
+ Enabled: true
39
+ EnforcedStyle: with_fixed_indentation
40
+
41
+ Layout/ArrayAlignment:
42
+ Enabled: true
43
+ EnforcedStyle: with_fixed_indentation
44
+
45
+ Layout/AssignmentIndentation:
46
+ Enabled: true
47
+ IndentationWidth: ~
48
+
49
+ Layout/BeginEndAlignment:
50
+ Enabled: true
51
+ EnforcedStyleAlignWith: start_of_line
52
+ AutoCorrect: true
53
+ Severity: warning
54
+
55
+ Layout/BlockAlignment:
56
+ Enabled: true
57
+ EnforcedStyleAlignWith: either
58
+
59
+ Layout/BlockEndNewline:
60
+ Enabled: true
61
+
62
+ Layout/CaseIndentation:
63
+ # Disabled because IndentOneStep can't be configured for one-liner cases. See:
64
+ # https://github.com/rubocop-hq/rubocop/issues/6447
65
+ Enabled: false
66
+
67
+ Layout/ClosingHeredocIndentation:
68
+ Enabled: true
69
+
70
+ Layout/ClosingParenthesisIndentation:
71
+ Enabled: true
72
+
73
+ Layout/CommentIndentation:
74
+ Enabled: true
75
+
76
+ Layout/ConditionPosition:
77
+ Enabled: true
78
+
79
+ Layout/DefEndAlignment:
80
+ Enabled: true
81
+ EnforcedStyleAlignWith: start_of_line
82
+ AutoCorrect: true
83
+ Severity: warning
84
+
85
+ Layout/DotPosition:
86
+ Enabled: true
87
+ EnforcedStyle: leading
88
+
89
+ Layout/ElseAlignment:
90
+ Enabled: true
91
+
92
+ Layout/EmptyComment:
93
+ Enabled: true
94
+ AllowBorderComment: true
95
+ AllowMarginComment: true
96
+
97
+ Layout/EmptyLineAfterMagicComment:
98
+ Enabled: true
99
+
100
+ Layout/EmptyLineBetweenDefs:
101
+ Enabled: true
102
+ AllowAdjacentOneLineDefs: false
103
+ NumberOfEmptyLines: 1
104
+
105
+ Layout/EmptyLines:
106
+ Enabled: true
107
+
108
+ Layout/EmptyLinesAroundAccessModifier:
109
+ Enabled: true
110
+
111
+ Layout/EmptyLinesAroundArguments:
112
+ Enabled: true
113
+
114
+ Layout/EmptyLinesAroundBeginBody:
115
+ Enabled: true
116
+
117
+ Layout/EmptyLinesAroundBlockBody:
118
+ Enabled: true
119
+ EnforcedStyle: no_empty_lines
120
+
121
+ Layout/EmptyLinesAroundClassBody:
122
+ Enabled: true
123
+ EnforcedStyle: no_empty_lines
124
+
125
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
126
+ Enabled: true
127
+
128
+ Layout/EmptyLinesAroundMethodBody:
129
+ Enabled: true
130
+
131
+ Layout/EmptyLinesAroundModuleBody:
132
+ Enabled: true
133
+ EnforcedStyle: no_empty_lines
134
+
135
+ Layout/EndAlignment:
136
+ Enabled: true
137
+ AutoCorrect: true
138
+ EnforcedStyleAlignWith: variable
139
+ Severity: warning
140
+
141
+ Layout/EndOfLine:
142
+ Enabled: true
143
+ EnforcedStyle: native
144
+
145
+ Layout/ExtraSpacing:
146
+ Enabled: true
147
+ AllowForAlignment: false
148
+ AllowBeforeTrailingComments: false
149
+ ForceEqualSignAlignment: false
150
+
151
+ Layout/FirstArgumentIndentation:
152
+ Enabled: true
153
+ EnforcedStyle: consistent
154
+ IndentationWidth: ~
155
+
156
+ Layout/FirstArrayElementIndentation:
157
+ Enabled: true
158
+ EnforcedStyle: consistent
159
+ IndentationWidth: ~
160
+
161
+ Layout/FirstHashElementIndentation:
162
+ Enabled: true
163
+ EnforcedStyle: consistent
164
+ IndentationWidth: ~
165
+
166
+ Layout/HashAlignment:
167
+ Enabled: true
168
+ EnforcedHashRocketStyle: key
169
+ EnforcedColonStyle: key
170
+ EnforcedLastArgumentHashStyle: always_inspect
171
+
172
+ Layout/HeredocIndentation:
173
+ Enabled: true
174
+
175
+ Layout/IndentationConsistency:
176
+ Enabled: true
177
+ EnforcedStyle: normal
178
+
179
+ Layout/IndentationStyle:
180
+ Enabled: true
181
+ IndentationWidth: ~
182
+
183
+ Layout/IndentationWidth:
184
+ Enabled: true
185
+ Width: 2
186
+ IgnoredPatterns: []
187
+
188
+ Layout/InitialIndentation:
189
+ Enabled: true
190
+
191
+ Layout/LeadingCommentSpace:
192
+ Enabled: true
193
+
194
+ Layout/LeadingEmptyLines:
195
+ Enabled: true
196
+
197
+ Layout/MultilineArrayBraceLayout:
198
+ Enabled: true
199
+ EnforcedStyle: symmetrical
200
+
201
+ Layout/MultilineBlockLayout:
202
+ Enabled: true
203
+
204
+ Layout/MultilineHashBraceLayout:
205
+ Enabled: true
206
+ EnforcedStyle: symmetrical
207
+
208
+ Layout/MultilineMethodCallBraceLayout:
209
+ Enabled: true
210
+ EnforcedStyle: symmetrical
211
+
212
+ Layout/MultilineMethodCallIndentation:
213
+ Enabled: true
214
+ EnforcedStyle: indented
215
+ IndentationWidth: ~
216
+
217
+ Layout/MultilineMethodDefinitionBraceLayout:
218
+ Enabled: true
219
+ EnforcedStyle: symmetrical
220
+
221
+ Layout/MultilineOperationIndentation:
222
+ Enabled: true
223
+ EnforcedStyle: indented
224
+ IndentationWidth: ~
225
+
226
+ Layout/ParameterAlignment:
227
+ Enabled: true
228
+ EnforcedStyle: with_fixed_indentation
229
+ IndentationWidth: ~
230
+
231
+ Layout/RescueEnsureAlignment:
232
+ Enabled: true
233
+
234
+ Layout/SpaceAfterColon:
235
+ Enabled: true
236
+
237
+ Layout/SpaceAfterComma:
238
+ Enabled: true
239
+
240
+ Layout/SpaceAfterMethodName:
241
+ Enabled: true
242
+
243
+ Layout/SpaceAfterNot:
244
+ Enabled: true
245
+
246
+ Layout/SpaceAfterSemicolon:
247
+ Enabled: true
248
+
249
+ Layout/SpaceAroundBlockParameters:
250
+ Enabled: true
251
+ EnforcedStyleInsidePipes: no_space
252
+
253
+ Layout/SpaceAroundEqualsInParameterDefault:
254
+ Enabled: true
255
+ EnforcedStyle: space
256
+
257
+ Layout/SpaceAroundKeyword:
258
+ Enabled: true
259
+
260
+ Layout/SpaceAroundMethodCallOperator:
261
+ Enabled: true
262
+
263
+ Layout/SpaceAroundOperators:
264
+ Enabled: true
265
+ AllowForAlignment: true
266
+
267
+ Layout/SpaceBeforeBlockBraces:
268
+ Enabled: true
269
+ EnforcedStyle: space
270
+ EnforcedStyleForEmptyBraces: space
271
+
272
+ Layout/SpaceBeforeComma:
273
+ Enabled: true
274
+
275
+ Layout/SpaceBeforeComment:
276
+ Enabled: true
277
+
278
+ Layout/SpaceBeforeFirstArg:
279
+ Enabled: true
280
+ AllowForAlignment: true
281
+
282
+ Layout/SpaceBeforeSemicolon:
283
+ Enabled: true
284
+
285
+ Layout/SpaceInLambdaLiteral:
286
+ Enabled: true
287
+ EnforcedStyle: require_space
288
+
289
+ Layout/SpaceInsideArrayLiteralBrackets:
290
+ Enabled: true
291
+ EnforcedStyle: no_space
292
+ EnforcedStyleForEmptyBrackets: no_space
293
+
294
+ Layout/SpaceInsideArrayPercentLiteral:
295
+ Enabled: true
296
+
297
+ Layout/SpaceInsideBlockBraces:
298
+ Enabled: true
299
+ EnforcedStyle: space
300
+ EnforcedStyleForEmptyBraces: no_space
301
+ SpaceBeforeBlockParameters: true
302
+
303
+ Layout/SpaceInsideHashLiteralBraces:
304
+ Enabled: true
305
+ EnforcedStyle: space
306
+ EnforcedStyleForEmptyBraces: space
307
+
308
+ Layout/SpaceInsideParens:
309
+ Enabled: true
310
+ EnforcedStyle: no_space
311
+
312
+ Layout/SpaceInsidePercentLiteralDelimiters:
313
+ Enabled: true
314
+
315
+ Layout/SpaceInsideRangeLiteral:
316
+ Enabled: true
317
+
318
+ Layout/SpaceInsideReferenceBrackets:
319
+ Enabled: true
320
+ EnforcedStyle: no_space
321
+ EnforcedStyleForEmptyBrackets: no_space
322
+
323
+ Layout/SpaceInsideStringInterpolation:
324
+ Enabled: true
325
+ EnforcedStyle: no_space
326
+
327
+ Layout/TrailingEmptyLines:
328
+ Enabled: true
329
+ EnforcedStyle: final_newline
330
+
331
+ Layout/TrailingWhitespace:
332
+ Enabled: true
333
+ AllowInHeredoc: true
334
+
335
+ Lint/AmbiguousAssignment:
336
+ Enabled: true
337
+
338
+ Lint/AmbiguousOperator:
339
+ Enabled: true
340
+
341
+ Lint/AmbiguousRegexpLiteral:
342
+ Enabled: true
343
+
344
+ Lint/AssignmentInCondition:
345
+ Enabled: true
346
+ AllowSafeAssignment: true
347
+
348
+ Lint/BigDecimalNew:
349
+ Enabled: true
350
+
351
+ Lint/BinaryOperatorWithIdenticalOperands:
352
+ Enabled: true
353
+
354
+ Lint/BooleanSymbol:
355
+ Enabled: true
356
+
357
+ Lint/CircularArgumentReference:
358
+ Enabled: true
359
+
360
+ Lint/ConstantDefinitionInBlock:
361
+ Enabled: true
362
+
363
+ Lint/Debugger:
364
+ Enabled: true
365
+
366
+ Lint/DeprecatedClassMethods:
367
+ Enabled: true
368
+
369
+ Lint/DeprecatedConstants:
370
+ Enabled: true
371
+
372
+ Lint/DeprecatedOpenSSLConstant:
373
+ Enabled: true
374
+
375
+ Lint/DuplicateCaseCondition:
376
+ Enabled: true
377
+
378
+ Lint/DuplicateElsifCondition:
379
+ Enabled: true
380
+
381
+ Lint/DuplicateHashKey:
382
+ Enabled: true
383
+
384
+ Lint/DuplicateMethods:
385
+ Enabled: true
386
+
387
+ Lint/DuplicateRegexpCharacterClassElement:
388
+ Enabled: true
389
+
390
+ Lint/DuplicateRequire:
391
+ Enabled: true
392
+
393
+ Lint/DuplicateRescueException:
394
+ Enabled: true
395
+
396
+ Lint/EachWithObjectArgument:
397
+ Enabled: true
398
+
399
+ Lint/ElseLayout:
400
+ Enabled: true
401
+
402
+ Lint/EmptyEnsure:
403
+ Enabled: true
404
+ AutoCorrect: true
405
+
406
+ Lint/EmptyExpression:
407
+ Enabled: true
408
+
409
+ Lint/EmptyInterpolation:
410
+ Enabled: true
411
+
412
+ Lint/EmptyWhen:
413
+ Enabled: true
414
+ AllowComments: true
415
+
416
+ Lint/EnsureReturn:
417
+ Enabled: true
418
+
419
+ Lint/ErbNewArguments:
420
+ Enabled: true
421
+
422
+ Lint/FlipFlop:
423
+ Enabled: true
424
+
425
+ Lint/FloatComparison:
426
+ Enabled: true
427
+
428
+ Lint/FloatOutOfRange:
429
+ Enabled: true
430
+
431
+ Lint/FormatParameterMismatch:
432
+ Enabled: true
433
+
434
+ Lint/IdentityComparison:
435
+ Enabled: true
436
+
437
+ Lint/ImplicitStringConcatenation:
438
+ Enabled: true
439
+
440
+ Lint/IneffectiveAccessModifier:
441
+ Enabled: true
442
+
443
+ Lint/InheritException:
444
+ Enabled: true
445
+ EnforcedStyle: runtime_error
446
+
447
+ Lint/InterpolationCheck:
448
+ Enabled: true
449
+
450
+ Lint/LiteralAsCondition:
451
+ Enabled: true
452
+
453
+ Lint/LiteralInInterpolation:
454
+ Enabled: true
455
+
456
+ Lint/Loop:
457
+ Enabled: true
458
+
459
+ Lint/MissingCopEnableDirective:
460
+ Enabled: true
461
+ MaximumRangeSize: .inf
462
+
463
+ Lint/MixedRegexpCaptureTypes:
464
+ Enabled: true
465
+
466
+ Lint/MultipleComparison:
467
+ Enabled: true
468
+
469
+ Lint/NestedMethodDefinition:
470
+ Enabled: true
471
+
472
+ Lint/NestedPercentLiteral:
473
+ Enabled: true
474
+
475
+ Lint/NextWithoutAccumulator:
476
+ Enabled: true
477
+
478
+ Lint/NonDeterministicRequireOrder:
479
+ Enabled: true
480
+
481
+ Lint/NonLocalExitFromIterator:
482
+ Enabled: true
483
+
484
+ Lint/NumberedParameterAssignment:
485
+ Enabled: true
486
+
487
+ Lint/OrAssignmentToConstant:
488
+ Enabled: true
489
+
490
+ Lint/OrderedMagicComments:
491
+ Enabled: true
492
+
493
+ Lint/OutOfRangeRegexpRef:
494
+ Enabled: true
495
+
496
+ Lint/ParenthesesAsGroupedExpression:
497
+ Enabled: true
498
+
499
+ Lint/PercentSymbolArray:
500
+ Enabled: true
501
+
502
+ Lint/RaiseException:
503
+ Enabled: true
504
+
505
+ Lint/RandOne:
506
+ Enabled: true
507
+
508
+ Lint/RedundantRequireStatement:
509
+ Enabled: true
510
+
511
+ Lint/RedundantSplatExpansion:
512
+ Enabled: true
513
+
514
+ Lint/RedundantStringCoercion:
515
+ Enabled: true
516
+
517
+ Lint/RedundantWithIndex:
518
+ Enabled: true
519
+
520
+ Lint/RedundantWithObject:
521
+ Enabled: true
522
+
523
+ Lint/RegexpAsCondition:
524
+ Enabled: true
525
+
526
+ Lint/RequireParentheses:
527
+ Enabled: true
528
+
529
+ Lint/RescueException:
530
+ Enabled: true
531
+
532
+ Lint/RescueType:
533
+ Enabled: true
534
+
535
+ Lint/ReturnInVoidContext:
536
+ Enabled: true
537
+
538
+ Lint/SafeNavigationChain:
539
+ Enabled: true
540
+ AllowedMethods:
541
+ - present?
542
+ - blank?
543
+ - presence
544
+ - try
545
+ - try!
546
+
547
+ Lint/SafeNavigationConsistency:
548
+ Enabled: true
549
+ AllowedMethods:
550
+ - present?
551
+ - blank?
552
+ - presence
553
+ - try
554
+ - try!
555
+
556
+ Lint/SafeNavigationWithEmpty:
557
+ Enabled: true
558
+
559
+ Lint/SelfAssignment:
560
+ Enabled: true
561
+
562
+ Lint/ShadowedArgument:
563
+ Enabled: true
564
+ IgnoreImplicitReferences: false
565
+
566
+ Lint/ShadowedException:
567
+ Enabled: true
568
+
569
+ Lint/SymbolConversion:
570
+ Enabled: true
571
+
572
+ Lint/Syntax:
573
+ Enabled: true
574
+
575
+ Lint/TopLevelReturnWithArgument:
576
+ Enabled: true
577
+
578
+ Lint/TrailingCommaInAttributeDeclaration:
579
+ Enabled: true
580
+
581
+ Lint/TripleQuotes:
582
+ Enabled: true
583
+
584
+ Lint/UnderscorePrefixedVariableName:
585
+ Enabled: true
586
+
587
+ Lint/UnifiedInteger:
588
+ Enabled: true
589
+
590
+ Lint/UnreachableCode:
591
+ Enabled: true
592
+
593
+ Lint/UriEscapeUnescape:
594
+ Enabled: true
595
+
596
+ Lint/UriRegexp:
597
+ Enabled: true
598
+
599
+ Lint/UselessAssignment:
600
+ Enabled: true
601
+
602
+ Lint/UselessElseWithoutRescue:
603
+ Enabled: true
604
+
605
+ Lint/UselessSetterCall:
606
+ Enabled: true
607
+
608
+ Lint/UselessTimes:
609
+ Enabled: true
610
+
611
+ Lint/Void:
612
+ Enabled: true
613
+ CheckForMethodsWithNoSideEffects: false
614
+
615
+ Migration/DepartmentName:
616
+ Enabled: true
617
+
618
+ Naming/BinaryOperatorParameterName:
619
+ Enabled: true
620
+
621
+ Naming/BlockParameterName:
622
+ Enabled: true
623
+ MinNameLength: 1
624
+ AllowNamesEndingInNumbers: true
625
+ AllowedNames: []
626
+ ForbiddenNames: []
627
+
628
+ Naming/ClassAndModuleCamelCase:
629
+ Enabled: true
630
+
631
+ Naming/ConstantName:
632
+ Enabled: true
633
+
634
+ Naming/HeredocDelimiterCase:
635
+ Enabled: true
636
+ EnforcedStyle: uppercase
637
+
638
+ Naming/VariableName:
639
+ Enabled: true
640
+ EnforcedStyle: snake_case
641
+
642
+ Performance/BigDecimalWithNumericArgument:
643
+ Enabled: true
644
+
645
+ Performance/BindCall:
646
+ Enabled: true
647
+
648
+ Performance/BlockGivenWithExplicitBlock:
649
+ Enabled: true
650
+
651
+ Performance/Caller:
652
+ Enabled: true
653
+
654
+ Performance/CollectionLiteralInLoop:
655
+ Enabled: false
656
+
657
+ Performance/CompareWithBlock:
658
+ Enabled: true
659
+
660
+ Performance/ConstantRegexp:
661
+ Enabled: true
662
+
663
+ Performance/Count:
664
+ Enabled: true
665
+
666
+ Performance/DeletePrefix:
667
+ Enabled: false
668
+
669
+ Performance/DeleteSuffix:
670
+ Enabled: false
671
+
672
+ Performance/Detect:
673
+ Enabled: true
674
+
675
+ Performance/DoubleStartEndWith:
676
+ Enabled: true
677
+ IncludeActiveSupportAliases: false
678
+
679
+ Performance/EndWith:
680
+ Enabled: true
681
+
682
+ Performance/FixedSize:
683
+ Enabled: true
684
+
685
+ Performance/FlatMap:
686
+ Enabled: true
687
+ EnabledForFlattenWithoutParams: false
688
+
689
+ Performance/InefficientHashSearch:
690
+ Enabled: true
691
+ Safe: false
692
+
693
+ Performance/RangeInclude:
694
+ Enabled: true
695
+ Safe: false
696
+
697
+ Performance/RedundantMatch:
698
+ Enabled: true
699
+
700
+ Performance/RedundantMerge:
701
+ Enabled: true
702
+ MaxKeyValuePairs: 2
703
+
704
+ Performance/RedundantSortBlock:
705
+ Enabled: true
706
+
707
+ Performance/RedundantSplitRegexpArgument:
708
+ Enabled: true
709
+
710
+ Performance/RedundantStringChars:
711
+ Enabled: true
712
+
713
+ Performance/RegexpMatch:
714
+ Enabled: true
715
+
716
+ Performance/ReverseEach:
717
+ Enabled: true
718
+
719
+ Performance/ReverseFirst:
720
+ Enabled: true
721
+
722
+ Performance/Size:
723
+ Enabled: true
724
+
725
+ Performance/SortReverse:
726
+ Enabled: true
727
+
728
+ Performance/Squeeze:
729
+ Enabled: true
730
+
731
+ Performance/StartWith:
732
+ Enabled: true
733
+
734
+ Performance/StringReplacement:
735
+ Enabled: true
736
+
737
+ Performance/UnfreezeString:
738
+ Enabled: true
739
+
740
+ Performance/UriDefaultParser:
741
+ Enabled: true
742
+
743
+ Security/Eval:
744
+ Enabled: true
745
+
746
+ Security/JSONLoad:
747
+ Enabled: true
748
+ AutoCorrect: false
749
+ SafeAutoCorrect: false
750
+
751
+ Security/Open:
752
+ Enabled: true
753
+ Safe: false
754
+
755
+ Security/YAMLLoad:
756
+ Enabled: true
757
+ SafeAutoCorrect: false
758
+
759
+ Standard/BlockSingleLineBraces:
760
+ Enabled: true
761
+
762
+ Style/Alias:
763
+ Enabled: true
764
+ EnforcedStyle: prefer_alias_method
765
+
766
+ Style/AndOr:
767
+ Enabled: true
768
+
769
+ Style/ArgumentsForwarding:
770
+ Enabled: true
771
+ AllowOnlyRestArgument: true
772
+
773
+ Style/ArrayJoin:
774
+ Enabled: true
775
+
776
+ Style/Attr:
777
+ Enabled: true
778
+
779
+ Style/BarePercentLiterals:
780
+ Enabled: true
781
+ EnforcedStyle: bare_percent
782
+
783
+ Style/BeginBlock:
784
+ Enabled: true
785
+
786
+ Style/BlockComments:
787
+ Enabled: true
788
+
789
+ Style/CharacterLiteral:
790
+ Enabled: true
791
+
792
+ Style/ClassCheck:
793
+ Enabled: true
794
+ EnforcedStyle: is_a?
795
+
796
+ Style/ClassEqualityComparison:
797
+ Enabled: true
798
+
799
+ Style/ClassMethods:
800
+ Enabled: true
801
+
802
+ Style/ColonMethodCall:
803
+ Enabled: true
804
+
805
+ Style/ColonMethodDefinition:
806
+ Enabled: true
807
+
808
+ Style/CommandLiteral:
809
+ Enabled: true
810
+ EnforcedStyle: mixed
811
+ AllowInnerBackticks: false
812
+
813
+ Style/ConditionalAssignment:
814
+ Enabled: true
815
+ EnforcedStyle: assign_to_condition
816
+ SingleLineConditionsOnly: true
817
+ IncludeTernaryExpressions: true
818
+
819
+ Style/DefWithParentheses:
820
+ Enabled: true
821
+
822
+ Style/Dir:
823
+ Enabled: true
824
+
825
+ Style/EachForSimpleLoop:
826
+ Enabled: true
827
+
828
+ Style/EachWithObject:
829
+ Enabled: true
830
+
831
+ Style/EmptyBlockParameter:
832
+ Enabled: true
833
+
834
+ Style/EmptyCaseCondition:
835
+ Enabled: true
836
+
837
+ Style/EmptyElse:
838
+ Enabled: true
839
+ EnforcedStyle: both
840
+
841
+ Style/EmptyLambdaParameter:
842
+ Enabled: true
843
+
844
+ Style/EmptyLiteral:
845
+ Enabled: true
846
+
847
+ Style/EmptyMethod:
848
+ Enabled: true
849
+ EnforcedStyle: expanded
850
+
851
+ Style/Encoding:
852
+ Enabled: true
853
+
854
+ Style/EndBlock:
855
+ Enabled: true
856
+ AutoCorrect: true
857
+
858
+ Style/EvalWithLocation:
859
+ Enabled: true
860
+
861
+ Style/For:
862
+ Enabled: true
863
+ EnforcedStyle: each
864
+
865
+ Style/GlobalStdStream:
866
+ Enabled: true
867
+
868
+ Style/GlobalVars:
869
+ Enabled: true
870
+ AllowedVariables: []
871
+
872
+ Style/HashConversion:
873
+ Enabled: true
874
+
875
+ Style/HashExcept:
876
+ Enabled: true
877
+
878
+ Style/HashSyntax:
879
+ Enabled: true
880
+ EnforcedStyle: ruby19_no_mixed_keys
881
+
882
+ Style/IdenticalConditionalBranches:
883
+ Enabled: true
884
+
885
+ Style/IfInsideElse:
886
+ Enabled: true
887
+
888
+ Style/IfUnlessModifierOfIfUnless:
889
+ Enabled: true
890
+
891
+ Style/IfWithBooleanLiteralBranches:
892
+ Enabled: true
893
+
894
+ Style/IfWithSemicolon:
895
+ Enabled: true
896
+
897
+ Style/InfiniteLoop:
898
+ Enabled: true
899
+
900
+ Style/KeywordParametersOrder:
901
+ Enabled: true
902
+
903
+ Style/LambdaCall:
904
+ Enabled: true
905
+ EnforcedStyle: braces
906
+
907
+ Style/LineEndConcatenation:
908
+ Enabled: true
909
+ SafeAutoCorrect: false
910
+
911
+ Style/MethodCallWithoutArgsParentheses:
912
+ Enabled: true
913
+ IgnoredMethods: []
914
+
915
+ Style/MissingRespondToMissing:
916
+ Enabled: true
917
+
918
+ Style/MixinGrouping:
919
+ Enabled: true
920
+ EnforcedStyle: separated
921
+
922
+ Style/MixinUsage:
923
+ Enabled: true
924
+
925
+ Style/MultilineIfModifier:
926
+ Enabled: true
927
+
928
+ Style/MultilineIfThen:
929
+ Enabled: true
930
+
931
+ Style/MultilineMemoization:
932
+ Enabled: true
933
+ EnforcedStyle: keyword
934
+
935
+ Style/MultilineWhenThen:
936
+ Enabled: true
937
+
938
+ Style/NegatedIf:
939
+ Enabled: true
940
+ EnforcedStyle: postfix
941
+
942
+ Style/NegatedWhile:
943
+ Enabled: true
944
+
945
+ Style/NestedModifier:
946
+ Enabled: true
947
+
948
+ Style/NestedParenthesizedCalls:
949
+ Enabled: true
950
+ AllowedMethods:
951
+ - be
952
+ - be_a
953
+ - be_an
954
+ - be_between
955
+ - be_falsey
956
+ - be_kind_of
957
+ - be_instance_of
958
+ - be_truthy
959
+ - be_within
960
+ - eq
961
+ - eql
962
+ - end_with
963
+ - include
964
+ - match
965
+ - raise_error
966
+ - respond_to
967
+ - start_with
968
+
969
+ Style/NestedTernaryOperator:
970
+ Enabled: true
971
+
972
+ Style/NilComparison:
973
+ Enabled: true
974
+ EnforcedStyle: predicate
975
+
976
+ Style/NilLambda:
977
+ Enabled: true
978
+
979
+ Style/NonNilCheck:
980
+ Enabled: true
981
+ IncludeSemanticChanges: false
982
+
983
+ Style/Not:
984
+ Enabled: true
985
+
986
+ Style/NumericLiteralPrefix:
987
+ Enabled: true
988
+ EnforcedOctalStyle: zero_with_o
989
+
990
+ Style/OneLineConditional:
991
+ Enabled: true
992
+
993
+ Style/OptionalArguments:
994
+ Enabled: true
995
+
996
+ Style/OrAssignment:
997
+ Enabled: true
998
+
999
+ Style/ParenthesesAroundCondition:
1000
+ Enabled: true
1001
+ AllowSafeAssignment: true
1002
+ AllowInMultilineConditions: false
1003
+
1004
+ Style/PercentLiteralDelimiters:
1005
+ Enabled: true
1006
+ PreferredDelimiters:
1007
+ default: ()
1008
+ '%i': '[]'
1009
+ '%I': '[]'
1010
+ '%r': '{}'
1011
+ '%w': '[]'
1012
+ '%W': '[]'
1013
+
1014
+ Style/Proc:
1015
+ Enabled: true
1016
+
1017
+ Style/RandomWithOffset:
1018
+ Enabled: true
1019
+
1020
+ Style/RedundantAssignment:
1021
+ Enabled: true
1022
+
1023
+ Style/RedundantBegin:
1024
+ Enabled: true
1025
+
1026
+ Style/RedundantCondition:
1027
+ Enabled: true
1028
+
1029
+ Style/RedundantConditional:
1030
+ Enabled: true
1031
+
1032
+ Style/RedundantException:
1033
+ Enabled: true
1034
+
1035
+ Style/RedundantFetchBlock:
1036
+ Enabled: true
1037
+
1038
+ Style/RedundantFileExtensionInRequire:
1039
+ Enabled: true
1040
+
1041
+ Style/RedundantFreeze:
1042
+ Enabled: true
1043
+
1044
+ Style/RedundantInterpolation:
1045
+ Enabled: true
1046
+
1047
+ Style/RedundantParentheses:
1048
+ Enabled: true
1049
+
1050
+ Style/RedundantPercentQ:
1051
+ Enabled: true
1052
+
1053
+ Style/RedundantRegexpCharacterClass:
1054
+ Enabled: true
1055
+
1056
+ Style/RedundantRegexpEscape:
1057
+ Enabled: true
1058
+
1059
+ Style/RedundantReturn:
1060
+ Enabled: true
1061
+ AllowMultipleReturnValues: false
1062
+
1063
+ Style/RedundantSelf:
1064
+ Enabled: true
1065
+
1066
+ Style/RedundantSort:
1067
+ Enabled: true
1068
+
1069
+ Style/RedundantSortBy:
1070
+ Enabled: true
1071
+
1072
+ Style/RescueModifier:
1073
+ Enabled: true
1074
+
1075
+ Style/RescueStandardError:
1076
+ Enabled: true
1077
+ EnforcedStyle: implicit
1078
+
1079
+ Style/SafeNavigation:
1080
+ Enabled: true
1081
+ ConvertCodeThatCanStartToReturnNil: false
1082
+ AllowedMethods:
1083
+ - present?
1084
+ - blank?
1085
+ - presence
1086
+ - try
1087
+ - try!
1088
+
1089
+ Style/Sample:
1090
+ Enabled: true
1091
+
1092
+ Style/SelfAssignment:
1093
+ Enabled: true
1094
+
1095
+ Style/Semicolon:
1096
+ Enabled: true
1097
+ AllowAsExpressionSeparator: false
1098
+
1099
+ Style/SingleLineMethods:
1100
+ Enabled: true
1101
+ AllowIfMethodIsEmpty: false
1102
+
1103
+ Style/SlicingWithRange:
1104
+ Enabled: true
1105
+
1106
+ Style/StabbyLambdaParentheses:
1107
+ Enabled: true
1108
+ EnforcedStyle: require_parentheses
1109
+
1110
+ Style/StderrPuts:
1111
+ Enabled: true
1112
+
1113
+ Style/StringChars:
1114
+ Enabled: true
1115
+
1116
+ Style/StringLiterals:
1117
+ Enabled: true
1118
+ EnforcedStyle: double_quotes
1119
+ ConsistentQuotesInMultiline: false
1120
+
1121
+ Style/StringLiteralsInInterpolation:
1122
+ Enabled: true
1123
+ EnforcedStyle: double_quotes
1124
+
1125
+ Style/Strip:
1126
+ Enabled: true
1127
+
1128
+ Style/SymbolLiteral:
1129
+ Enabled: true
1130
+
1131
+ Style/TernaryParentheses:
1132
+ Enabled: true
1133
+ EnforcedStyle: require_no_parentheses
1134
+ AllowSafeAssignment: true
1135
+
1136
+ Style/TrailingBodyOnClass:
1137
+ Enabled: true
1138
+
1139
+ Style/TrailingBodyOnMethodDefinition:
1140
+ Enabled: true
1141
+
1142
+ Style/TrailingBodyOnModule:
1143
+ Enabled: true
1144
+
1145
+ Style/TrailingCommaInArguments:
1146
+ Enabled: true
1147
+ EnforcedStyleForMultiline: no_comma
1148
+
1149
+ Style/TrailingCommaInArrayLiteral:
1150
+ Enabled: true
1151
+ EnforcedStyleForMultiline: no_comma
1152
+
1153
+ Style/TrailingCommaInBlockArgs:
1154
+ Enabled: true
1155
+
1156
+ Style/TrailingCommaInHashLiteral:
1157
+ Enabled: true
1158
+ EnforcedStyleForMultiline: no_comma
1159
+
1160
+ Style/TrailingMethodEndStatement:
1161
+ Enabled: true
1162
+
1163
+ Style/TrivialAccessors:
1164
+ Enabled: true
1165
+ ExactNameMatch: true
1166
+ AllowPredicates: true
1167
+ AllowDSLWriters: false
1168
+ IgnoreClassMethods: false
1169
+ AllowedMethods:
1170
+ - to_ary
1171
+ - to_a
1172
+ - to_c
1173
+ - to_enum
1174
+ - to_h
1175
+ - to_hash
1176
+ - to_i
1177
+ - to_int
1178
+ - to_io
1179
+ - to_open
1180
+ - to_path
1181
+ - to_proc
1182
+ - to_r
1183
+ - to_regexp
1184
+ - to_str
1185
+ - to_s
1186
+ - to_sym
1187
+
1188
+ Style/UnlessElse:
1189
+ Enabled: true
1190
+
1191
+ Style/UnpackFirst:
1192
+ Enabled: true
1193
+
1194
+ Style/VariableInterpolation:
1195
+ Enabled: true
1196
+
1197
+ Style/WhenThen:
1198
+ Enabled: true
1199
+
1200
+ Style/WhileUntilDo:
1201
+ Enabled: true
1202
+
1203
+ Style/YodaCondition:
1204
+ Enabled: true
1205
+ EnforcedStyle: forbid_for_all_comparison_operators