agenda-libre-ruby/.rubocop.yml

28 lines
493 B
YAML

require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
AllCops:
Exclude:
- db/schema.rb
TargetRubyVersion: 2.5
Metrics/BlockLength:
Exclude:
- app/admin/*.rb
- config/routes.rb
- config/environments/*.rb
Style/FrozenStringLiteralComment:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true