@@ -14,12 +14,6 @@ AllCops:
1414Style/AndOr :
1515 Enabled : true
1616
17- # Do not use braces for hash literals when they are the last argument of a
18- # method call.
19- Style/BracesAroundHashParameters :
20- Enabled : true
21- EnforcedStyle : context_dependent
22-
2317# Align `when` with `case`.
2418Layout/CaseIndentation :
2519 Enabled : true
@@ -46,7 +40,7 @@ Layout/EmptyLinesAroundMethodBody:
4640Layout/EmptyLinesAroundModuleBody :
4741 Enabled : true
4842
49- Layout/IndentFirstArgument :
43+ Layout/FirstArgumentIndentation :
5044 Enabled : true
5145
5246# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
@@ -57,7 +51,7 @@ Style/HashSyntax:
5751# extra level of indentation.
5852Layout/IndentationConsistency :
5953 Enabled : true
60- EnforcedStyle : rails
54+ EnforcedStyle : indented_internal_methods
6155
6256# Two spaces, no tabs (for indentation).
6357Layout/IndentationWidth :
@@ -123,15 +117,15 @@ Layout/Tab:
123117 Enabled : true
124118
125119# Blank lines should not have any spaces.
126- Layout/TrailingBlankLines :
120+ Layout/TrailingEmptyLines :
127121 Enabled : true
128122
129123# No trailing whitespace.
130124Layout/TrailingWhitespace :
131125 Enabled : false
132126
133127# Use quotes for string literals when they are enough.
134- Style/UnneededPercentQ :
128+ Style/RedundantPercentQ :
135129 Enabled : true
136130
137131# Align `end` with the matching keyword or starting expression except for
0 commit comments