From d3671491e885384b8337042769fb70d1959c1ae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 28 Dec 2018 12:50:45 +0100 Subject: [PATCH] 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. --- .rubocop_basic.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop_basic.yml b/.rubocop_basic.yml index 7d7074e9f..7711c48b6 100644 --- a/.rubocop_basic.yml +++ b/.rubocop_basic.yml @@ -18,6 +18,9 @@ AllCops: Layout/IndentationConsistency: EnforcedStyle: rails +Layout/IndentationWidth: + Enabled: true + Layout/EndOfLine: EnforcedStyle: lf