use new Cops syntax, ignore example files

This commit is contained in:
Georg Kahest 2017-04-09 16:45:06 +03:00
parent 12d80ce2cc
commit 1a315363df

View file

@ -1,10 +1,12 @@
AllCops:
RunRailsCops: true
Exclude:
Rails:
Enabled: True
Exclude:
- 'Guardfile'
# stuff generated by AR and rails
- 'config/deploy-example.rb'
- 'config/environments/development-example.rb'
- 'config/environments/staging-example.rb'
- 'db/schema.rb'
- 'db/schema-read-only.rb'
- 'db/whois_schema.rb'