1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/.rubocop.yml
2018-12-09 05:36:11 +05:00

85 lines
1.5 KiB
YAML

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