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:
Javi Martín
2018-12-28 12:50:45 +01:00
parent f7022b36b4
commit d3671491e8

View File

@@ -18,6 +18,9 @@ AllCops:
Layout/IndentationConsistency:
EnforcedStyle: rails
Layout/IndentationWidth:
Enabled: true
Layout/EndOfLine:
EnforcedStyle: lf