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

61 lines
1 KiB
YAML
Raw Normal View History

2018-11-22 14:57:13 -05:00
AllCops:
TargetRubyVersion: 2.5
DisplayCopNames: true
Exclude:
- 'bin/**/*'
- 'db/schema.rb'
- 'vendor/**/*'
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
2018-11-26 08:58:09 -05:00
Layout/AlignHash:
EnforcedColonStyle: table
2018-11-22 14:57:13 -05:00
Layout/EmptyLinesAroundArguments:
Enabled: false
2018-11-29 15:57:57 -05:00
Metrics/AbcSize:
Exclude:
- 'db/migrate/*.rb'
2018-11-26 08:58:09 -05:00
Metrics/BlockLength:
Exclude:
- 'config/initializers/*.rb'
2018-11-28 09:05:58 -05:00
- 'spec/**/*.rb'
2018-11-26 08:58:09 -05:00
Metrics/LineLength:
Exclude:
- 'config/initializers/simple_form.rb'
- 'config/initializers/simple_form_bootstrap.rb'
Metrics/MethodLength:
Exclude:
- 'db/migrate/*.rb'
2018-11-22 14:57:13 -05:00
Rails:
Enabled: true
Style/AndOr:
EnforcedStyle: conditionals
2018-11-29 16:28:20 -05:00
Style/ClassAndModuleChildren:
Exclude:
- 'app/controllers/**/*.rb'
2018-11-22 14:57:13 -05:00
Style/Documentation:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma