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:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user