.rubocop.yml
AllCops:
TargetRubyVersion: 2.4
Rails:
Enabled: true
Rails/HttpPositionalArguments:
Enabled: false
Bundler/OrderedGems:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/Documentation:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: true
Exclude:
- 'spec/**/*'
Layout/IndentArray:
Enabled: true
EnforcedStyle: consistent
Layout/IndentHash:
Enabled: true
EnforcedStyle: consistent
Style/ModuleFunction:
Enabled: false
Style/StringLiterals:
EnforcedStyle: 'double_quotes'
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Layout/AlignHash:
Enabled: true
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
EnforcedLastArgumentHashStyle: ignore_implicit