From ad1e044e0aeb3f5ad0364fe13bb9c399f7b5438d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 21 Sep 2018 01:26:08 +0200 Subject: [PATCH] Add trailing newline rule to rubocop Just like we're suggesting when we do code reviews and like the rule we've enabled in SCSS-Lint. --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 2bf64ceb0..549bf8a6c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -25,6 +25,9 @@ Layout/IndentationConsistency: Layout/EndOfLine: EnforcedStyle: lf +Layout/TrailingBlankLines: + Enabled: true + Layout/TrailingWhitespace: Enabled: true