.rubocop.yml
AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.5
Exclude:
- 'spec/dummy/**/*'
- 'lib/generators/**/*'
Gemspec/RequiredRubyVersion:
Enabled: false
Rails:
Enabled: true
Layout/SpaceInsideHashLiteralBraces:
Enabled: true
EnforcedStyle: compact
Style/HashSyntax:
Enabled: true
EnforcedStyle: ruby19_no_mixed_keys
Metrics/LineLength:
Max: 150
Metrics/BlockLength:
Exclude:
- 'spree_batch_api.gemspec'
Security/JSONLoad:
Exclude:
- 'spec/**/*'
# DISABLED
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false