sun-sword 0.0.10 → 0.0.11

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