Update rubocop configuration

This commit is contained in:
Sebastian Serth
2021-05-14 10:51:09 +02:00
parent 48904a19fd
commit fe4000916c
11 changed files with 407 additions and 33 deletions

19
.rubocop/rails.yml Normal file
View File

@ -0,0 +1,19 @@
# rails cop settings
Rails:
Enabled: true
#
# False positives:
# * On embedded models in migrations.
#
Rails/ApplicationRecord:
Exclude:
- "db/**/*"
Rails/UnknownEnv:
Environments:
- development
- staging
- production
- test