AllCops:
TargetRubyVersion: 2.5
DisplayCopNames: true
Exclude:
- 'bin/**/*'
- 'db/schema.rb'
- 'features/support/env.rb'
- 'lib/tasks/cucumber.rake'
- 'script/cucumber'
- 'vendor/**/*'
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Layout/AlignHash:
EnforcedColonStyle: table
Layout/EmptyLinesAroundArguments:
Enabled: false
Metrics/AbcSize:
- 'db/migrate/*.rb'
Metrics/BlockLength:
- 'config/initializers/*.rb'
- 'factories/**/*.rb'
- 'spec/**/*.rb'
Metrics/LineLength:
- 'config/initializers/simple_form.rb'
- 'config/initializers/simple_form_bootstrap.rb'
Metrics/MethodLength:
Rails:
Enabled: true
Rails/LexicallyScopedActionFilter:
- 'app/controllers/application_controller.rb'
Style/AndOr:
EnforcedStyle: conditionals
Style/ClassAndModuleChildren:
- 'app/controllers/**/*.rb'
Style/Documentation:
Style/DoubleNegation:
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
Style/TrailingCommaInHashLiteral: