Update rubocop configuration
This commit is contained in:
parent
de9996e9f0
commit
c0c817b542
1 changed files with 9 additions and 3 deletions
12
.rubocop.yml
12
.rubocop.yml
|
@ -61,9 +61,6 @@ Rails/SkipsModelValidations:
|
|||
- 'db/migrate/*.rb'
|
||||
- 'app/controllers/users_controller.rb'
|
||||
|
||||
Style/BracesAroundHashParameters:
|
||||
EnforcedStyle: context_dependent
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
|
@ -76,12 +73,21 @@ Style/IfInsideElse:
|
|||
Style/GuardClause:
|
||||
Enabled: false
|
||||
|
||||
Style/HashEachMethods:
|
||||
Enabled: true
|
||||
|
||||
Style/HashSyntax:
|
||||
EnforcedStyle: hash_rockets
|
||||
Exclude:
|
||||
- 'lib/tasks/testing.rake'
|
||||
- 'config/initializers/wrap_parameters.rb'
|
||||
|
||||
Style/HashTransformKeys:
|
||||
Enabled: true
|
||||
|
||||
Style/HashTransformValues:
|
||||
Enabled: true
|
||||
|
||||
Style/MixinUsage:
|
||||
Exclude:
|
||||
- 'bin/setup'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue