Exclude Rails database schema from linting

The schema is automatically generated, so RuboCop's recommendations are
non-actionable; ignore it as in rubocop-hq/rubocop#752.
This commit is contained in:
Andrew Kvalheim 2020-04-03 16:32:03 -07:00
parent e709d080b4
commit faffc49020
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,8 @@ AllCops:
UseCache: true
CacheRootDirectory: tmp/rubocop_cache_rails_dir
MaxFilesInCache: 4000
Exclude:
- db/schema.rb
#################### Style ###########################

View file

@ -1155,7 +1155,6 @@ Style/StringLiterals:
- 'config/deploy.rb'
- 'config/environments/production.rb'
- 'config/puma.rb'
- 'db/schema.rb'
- 'lib/tasks/dump_db.rake'
- 'lib/tasks/events_registrations.rake'
- 'lib/tasks/factory_bot.rake'