Enable indentation width cop
This cop is necessary so the `Layout/IndentationConsistency` cop works properly when its `EnforcedStyle` is set to `Rails`, and so incorrect indentation for `private` methods is properly detected.
This commit is contained in:
@@ -18,6 +18,9 @@ AllCops:
|
||||
Layout/IndentationConsistency:
|
||||
EnforcedStyle: rails
|
||||
|
||||
Layout/IndentationWidth:
|
||||
Enabled: true
|
||||
|
||||
Layout/EndOfLine:
|
||||
EnforcedStyle: lf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user