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:
|
Layout/IndentationConsistency:
|
||||||
EnforcedStyle: rails
|
EnforcedStyle: rails
|
||||||
|
|
||||||
|
Layout/IndentationWidth:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
Layout/EndOfLine:
|
Layout/EndOfLine:
|
||||||
EnforcedStyle: lf
|
EnforcedStyle: lf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user