.rubocop.yml
# Built-in config: https://github.com/bbatsov/rubocop/blob/master/config/default.yml
# We do not typically use/need class documentation
Documentation:
Enabled: false
Metrics/LineLength:
Enabled: false
# Max: 120
AllCops:
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'old_test/**/*'
- 'vendor/**/*'
- 'horowhenua_spec/**/*'
- 'db/schema.rb'
- 'node_modules/**'
# Not in rails 3
Rails/DynamicFindBy:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/FileName:
Exclude:
- Gemfile
- Gemile.lock
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles, WordRegex.
# SupportedStyles: percent, brackets
# Configuration parameters: SupportedStyles, WordRegex.
# SupportedStyles: percent, brackets
Style/WordArray:
EnforcedStyle: percent
MinSize: 5