@@ -20,7 +20,8 @@ AllCops:
20
20
- " db/schema.rb"
21
21
- ' vendor/**/*'
22
22
- ' gemfiles/vendor/**/*'
23
- RunRailsCops : false
23
+ Rails :
24
+ Enabled : false
24
25
DisplayCopNames : false
25
26
StyleGuideCopsOnly : false
26
27
Style/AccessModifierIndentation :
@@ -434,7 +435,7 @@ Style/TrailingBlankLines:
434
435
SupportedStyles :
435
436
- final_newline
436
437
- final_blank_line
437
- Style/TrailingComma :
438
+ Style/TrailingCommaInLiteral :
438
439
Description : Checks for trailing comma in parameter lists and literals.
439
440
StyleGuide : https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
440
441
Enabled : false
@@ -560,11 +561,6 @@ Rails/ActionFilter:
560
561
- filter
561
562
Include :
562
563
- app/controllers/**/*.rb
563
- Rails/DefaultScope :
564
- Description : Checks if the argument passed to default_scope is a block.
565
- Enabled : true
566
- Include :
567
- - app/models/**/*.rb
568
564
Rails/HasAndBelongsToMany :
569
565
Description : Prefer has_many :through to has_and_belongs_to_many.
570
566
Enabled : true
@@ -685,10 +681,6 @@ Style/DefWithParentheses:
685
681
Description : Use def with parentheses when there are arguments.
686
682
StyleGuide : https://github.com/bbatsov/ruby-style-guide#method-parens
687
683
Enabled : true
688
- Style/DeprecatedHashMethods :
689
- Description : Checks for use of deprecated Hash methods.
690
- StyleGuide : https://github.com/bbatsov/ruby-style-guide#hash-key
691
- Enabled : false
692
684
Style/Documentation :
693
685
Description : Document classes and non-namespace modules.
694
686
Enabled : false
@@ -840,7 +832,7 @@ Style/SelfAssignment:
840
832
used.
841
833
StyleGuide : https://github.com/bbatsov/ruby-style-guide#self-assignment
842
834
Enabled : false
843
- Style/SingleSpaceBeforeFirstArg :
835
+ Style/SpaceBeforeFirstArg :
844
836
Description : Checks that exactly one space is used between a method name and the
845
837
first argument for method calls without parentheses.
846
838
Enabled : true
@@ -852,7 +844,7 @@ Style/SpaceAfterComma:
852
844
Description : Use spaces after commas.
853
845
StyleGuide : https://github.com/bbatsov/ruby-style-guide#spaces-operators
854
846
Enabled : true
855
- Style/SpaceAfterControlKeyword :
847
+ Style/SpaceAroundKeyword :
856
848
Description : Use spaces after if/elsif/unless/while/until/case/when.
857
849
Enabled : true
858
850
Style/SpaceAfterMethodName :
@@ -881,9 +873,6 @@ Style/SpaceAroundOperators:
881
873
Description : Use spaces around operators.
882
874
StyleGuide : https://github.com/bbatsov/ruby-style-guide#spaces-operators
883
875
Enabled : true
884
- Style/SpaceBeforeModifierKeyword :
885
- Description : Put a space before the modifier keyword.
886
- Enabled : true
887
876
Style/SpaceInsideBrackets :
888
877
Description : No spaces after [ or before ].
889
878
StyleGuide : https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
0 commit comments