.rubocop.yml
AllCops:
TargetRubyVersion: 2.3
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'db/**/*'
- 'vendor/bundle/**/*'
- 'config/**/*'
- 'script/**/*'
- 'node_modules/**/*'
- 'bin/**/*'
- 'lib/**/*'
Rails:
Enabled: true
Documentation:
Enabled: false
Style/EmptyLinesAroundBlockBody:
Enabled: false
Style/EmptyLinesAroundClassBody:
Enabled: false
Metrics/LineLength:
Enabled: false
Metrics/AbcSize:
Max: 20
Metrics/MethodLength:
Max: 25
Lint/Eval:
Exclude:
- 'spec/**/*'