From 002599231f284cba01c82b5cfb2bd6fca68f8e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 15 Mar 2019 21:19:39 +0100 Subject: [PATCH] Enable rubocop rules in config and seed files We were unintentionally ignoring them while trying to ignore just the schema file, migration files, and initializers generated with `rails generate` --- .rubocop_basic.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.rubocop_basic.yml b/.rubocop_basic.yml index 981aca200..1099dcce4 100644 --- a/.rubocop_basic.yml +++ b/.rubocop_basic.yml @@ -7,9 +7,8 @@ AllCops: - "**/Rakefile" - "**/config.ru" Exclude: - - "db/**/*" - - "config/**/*" - - "script/**/*" + - "db/migrate/**/*" + - "db/schema.rb" TargetRubyVersion: 2.3 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop # to ignore them, so only the ones explicitly set in this file are enabled.