.rubocop.yml
AllCops:
Exclude:
- 'bin/**/*'
- 'db/**/*'
TargetRubyVersion: 2.3
Metrics/LineLength:
Enabled: false
Rails:
Enabled: true
Style/AccessorMethodName:
Enabled: false
Style/AndOr:
EnforcedStyle: always
Style/CommentAnnotation:
Enabled: false
Style/Documentation:
Enabled: false
Style/DotPosition:
Enabled: false
Style/EmptyElse:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/GuardClause:
Enabled: true
Style/IfUnlessModifier:
Description: >-
Favor modifier if/unless usage when you have a
single-line body.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier'
Enabled: true
Style/RaiseArgs:
Enabled: false
Style/RedundantBegin:
Enabled: false
Style/RedundantSelf:
Enabled: false
Style/PredicateName:
Enabled: false
Style/SignalException:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/TrailingCommaInArguments:
Enabled: false
ClassLength:
Max: 250