rewind-ruby-style 1.0.4 → 1.0.9

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