21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-25 21:40:49 +02:00
chexpire/.rubocop.yml
2018-05-23 10:47:30 +02:00

74 lines
1.2 KiB
YAML

AllCops:
TargetRubyVersion: 2.5
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'lib/tasks/auto_annotate_models.rake'
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'bin/**/*'
- !ruby/regexp /old_and_unused\.rb$/
- 'app/admin/*'
- 'tmp/*'
- Gemfile
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
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