metamaps--metamaps/.rubocop.yml

30 lines
549 B
YAML
Raw Normal View History

AllCops:
TargetRubyVersion: 2.3
Exclude:
- 'db/**/*'
- 'tmp/**/*'
- 'bin/**/*'
- 'vendor/**/*'
- 'app/assets/javascripts/node_modules/**/*'
2016-09-24 04:27:34 +00:00
- 'Vagrantfile'
Rails:
Enabled: true
Metrics/LineLength:
Max: 120
2016-09-24 03:00:53 +00:00
Metrics/AbcSize:
Max: 16
Style/Documentation:
Enabled: false
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