Archived
1
0
Fork 0

Configure RuboCop

This commit is contained in:
Braiden Vasco 2017-07-20 19:24:36 +00:00
parent da5437f5fb
commit 87c2499d7e

View file

@ -1,3 +1,41 @@
AllCops:
TargetRubyVersion: 2.3
DisplayCopNames: true
Exclude:
- vendor/**/*
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Layout/MultilineOperationIndentation:
Exclude:
- ext/**/*
Metrics/BlockLength:
Exclude:
- tox.gemspec
- spec/**/*
Metrics/LineLength:
Max: 120
Style/AndOr:
Exclude:
- ext/**/*
Style/DoubleNegation:
Enabled: false
Style/GlobalVars:
Exclude:
- ext/**/*
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma
Style/VariableInterpolation:
Enabled: false