Update rubocop configuration
This commit is contained in:
19
.rubocop/rails.yml
Normal file
19
.rubocop/rails.yml
Normal 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
|
Reference in New Issue
Block a user