1
0
Fork 0
This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/.rubocop.yml

77 lines
1.4 KiB
YAML
Raw Normal View History

2018-11-22 19:57:13 +00:00
AllCops:
TargetRubyVersion: 2.5
DisplayCopNames: true
Exclude:
- 'bin/**/*'
- 'db/schema.rb'
2018-11-30 07:26:46 +00:00
- 'features/support/env.rb'
- 'lib/tasks/cucumber.rake'
- 'script/cucumber'
2018-11-22 19:57:13 +00:00
- 'vendor/**/*'
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
2018-11-26 13:58:09 +00:00
Layout/AlignHash:
EnforcedColonStyle: table
2018-11-22 19:57:13 +00:00
Layout/EmptyLinesAroundArguments:
Enabled: false
2018-11-29 20:57:57 +00:00
Metrics/AbcSize:
Exclude:
- 'db/migrate/*.rb'
2018-11-26 13:58:09 +00:00
Metrics/BlockLength:
Exclude:
2018-12-03 20:04:08 +00:00
- 'config/**/*.rb'
2018-11-30 03:41:57 +00:00
- 'factories/**/*.rb'
2018-12-04 13:50:10 +00:00
- 'lib/capistrano/tasks/**/*.rake'
2018-11-28 14:05:58 +00:00
- 'spec/**/*.rb'
2018-11-26 13:58:09 +00:00
Metrics/LineLength:
Exclude:
- 'config/initializers/simple_form.rb'
- 'config/initializers/simple_form_bootstrap.rb'
Metrics/MethodLength:
Exclude:
- 'db/migrate/*.rb'
2018-11-22 19:57:13 +00:00
Rails:
Enabled: true
2018-12-04 03:16:40 +00:00
Rails/BulkChangeTable:
Enabled: false
2018-12-06 01:22:39 +00:00
Rails/HasAndBelongsToMany:
Exclude:
- 'app/models/role.rb'
2018-11-30 00:17:26 +00:00
Rails/LexicallyScopedActionFilter:
Exclude:
- 'app/controllers/application_controller.rb'
2018-11-22 19:57:13 +00:00
Style/AndOr:
EnforcedStyle: conditionals
2018-11-29 21:28:20 +00:00
Style/ClassAndModuleChildren:
Exclude:
- 'app/controllers/**/*.rb'
2018-11-22 19:57:13 +00:00
Style/Documentation:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma