mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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
e709d080b4
commit
faffc49020
2 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,8 @@ AllCops:
|
||||||
UseCache: true
|
UseCache: true
|
||||||
CacheRootDirectory: tmp/rubocop_cache_rails_dir
|
CacheRootDirectory: tmp/rubocop_cache_rails_dir
|
||||||
MaxFilesInCache: 4000
|
MaxFilesInCache: 4000
|
||||||
|
Exclude:
|
||||||
|
- db/schema.rb
|
||||||
|
|
||||||
#################### Style ###########################
|
#################### Style ###########################
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1155,7 +1155,6 @@ Style/StringLiterals:
|
||||||
- 'config/deploy.rb'
|
- 'config/deploy.rb'
|
||||||
- 'config/environments/production.rb'
|
- 'config/environments/production.rb'
|
||||||
- 'config/puma.rb'
|
- 'config/puma.rb'
|
||||||
- 'db/schema.rb'
|
|
||||||
- 'lib/tasks/dump_db.rake'
|
- 'lib/tasks/dump_db.rake'
|
||||||
- 'lib/tasks/events_registrations.rake'
|
- 'lib/tasks/events_registrations.rake'
|
||||||
- 'lib/tasks/factory_bot.rake'
|
- 'lib/tasks/factory_bot.rake'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue