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`
This commit is contained in:
Javi Martín
2019-03-15 21:19:39 +01:00
parent f4de8fd42a
commit 002599231f

View File

@@ -7,9 +7,8 @@ AllCops:
- "**/Rakefile" - "**/Rakefile"
- "**/config.ru" - "**/config.ru"
Exclude: Exclude:
- "db/**/*" - "db/migrate/**/*"
- "config/**/*" - "db/schema.rb"
- "script/**/*"
TargetRubyVersion: 2.3 TargetRubyVersion: 2.3
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop # 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. # to ignore them, so only the ones explicitly set in this file are enabled.