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