.rubocop.yml
Rails:
Enabled: true
Layout/DotPosition:
EnforcedStyle: leading
Style/StringLiterals:
EnforcedStyle: single_quotes
Style/Documentation:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
# Only relevant for Rails 5.
Rails/HttpPositionalArguments:
Enabled: false
Style/FrozenStringLiteralComment:
EnforcedStyle: always
Metrics/LineLength:
Max: 100
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'