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:
parent
0646e41a82
commit
162e0f720f
2 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,8 @@ AllCops:
|
|||
UseCache: true
|
||||
CacheRootDirectory: tmp/rubocop_cache_rails_dir
|
||||
MaxFilesInCache: 4000
|
||||
Exclude:
|
||||
- db/schema.rb
|
||||
|
||||
#################### Style ###########################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue