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 committed by Henne Vogelsang
parent 0646e41a82
commit 162e0f720f
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
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 ###########################