chexpire/.rubocop.yml

79 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2018-05-23 10:47:30 +02:00
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
ExtraDetails: false
2018-05-23 10:47:30 +02:00
TargetRubyVersion: 2.5
Exclude:
2018-05-23 15:56:43 +02:00
- 'node_modules/**/*'
- 'vendor/**/*'
- '.git/**/*'
2018-05-23 10:47:30 +02:00
- 'lib/tasks/auto_annotate_models.rake'
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'bin/**/*'
- !ruby/regexp /old_and_unused\.rb$/
- 'app/admin/*'
- 'tmp/*'
- Gemfile
2018-05-24 11:43:34 +02:00
- Capfile
2018-05-23 10:47:30 +02:00
Documentation:
Enabled: false
FrozenStringLiteralComment:
Enabled: false
ClassAndModuleChildren:
Enabled: false
Metrics/BlockLength:
Enabled: true
Exclude:
- lib/tasks/**/*
AsciiComments:
Enabled: false
AlignParameters:
Enabled: false
Layout/EndAlignment:
Enabled: true
EnforcedStyleAlignWith: variable
Metrics/LineLength:
Max: 100
2018-08-02 00:33:10 +02:00
IgnoredPatterns:
- '# Copyright'
2018-05-23 10:47:30 +02:00
Style/BlockDelimiters:
EnforcedStyle: semantic
Style/Lambda:
Enabled: false
Style/SignalException:
EnforcedStyle: semantic
Style/NumericLiteralPrefix:
Enabled: false
Style/NumericLiterals:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/SymbolArray:
Enabled: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma