29 lines
549 B
YAML
29 lines
549 B
YAML
AllCops:
|
|
TargetRubyVersion: 2.3
|
|
Exclude:
|
|
- 'db/**/*'
|
|
- 'tmp/**/*'
|
|
- 'bin/**/*'
|
|
- 'vendor/**/*'
|
|
- 'app/assets/javascripts/node_modules/**/*'
|
|
- 'Vagrantfile'
|
|
|
|
Rails:
|
|
Enabled: true
|
|
|
|
Metrics/LineLength:
|
|
Max: 120
|
|
|
|
Metrics/AbcSize:
|
|
Max: 16
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
Style/EmptyMethod:
|
|
EnforcedStyle: expanded
|
|
|
|
# I like this cop, but occasionally code is more readable without a guard clause,
|
|
# and I don't want to write rubocop:disable comments every time that happens
|
|
Style/GuardClause:
|
|
Enabled: false
|