From b7c714dce9e67e3117ae25883027f3f4ea5d9730 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 11 Sep 2018 11:19:08 +0200 Subject: [PATCH] Fix .rubocop.yml config file to work with current Rubocop versions Signed-off-by: Sebastian Serth --- .rubocop.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 33d49ca3..3c14b841 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,4 +1,5 @@ AllCops: + TargetRubyVersion: 2.3 Exclude: - bin/* - config/application.rb @@ -7,11 +8,12 @@ AllCops: - db/schema.rb - public/uploads/**/* - tmp/**/* - RunRailsCops: true +Rails: + Enabled: true Metrics/LineLength: Enabled: false require: rubocop-rspec Style/Documentation: Enabled: false -Style/SpaceInsideHashLiteralBraces: +Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space