2016-07-26 00:14:23 +00:00
|
|
|
AllCops:
|
|
|
|
TargetRubyVersion: 2.3
|
|
|
|
Exclude:
|
|
|
|
- 'db/**/*'
|
|
|
|
- 'tmp/**/*'
|
|
|
|
- 'bin/**/*'
|
|
|
|
- 'vendor/**/*'
|
|
|
|
- 'app/assets/javascripts/node_modules/**/*'
|
2016-09-24 04:27:34 +00:00
|
|
|
- 'Vagrantfile'
|
2016-07-26 00:14:23 +00:00
|
|
|
|
|
|
|
Rails:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Metrics/LineLength:
|
2018-01-20 22:10:26 +00:00
|
|
|
Max: 120
|
2016-09-24 03:00:53 +00:00
|
|
|
|
|
|
|
Metrics/AbcSize:
|
|
|
|
Max: 16
|
|
|
|
|
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
2017-01-24 00:30:13 +00:00
|
|
|
|
|
|
|
Style/EmptyMethod:
|
|
|
|
EnforcedStyle: expanded
|
2018-01-21 22:21:00 +00:00
|
|
|
|
|
|
|
# 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
|