2016-01-14 09:15:30 -05:00
|
|
|
AllCops:
|
2017-03-17 12:31:58 -04:00
|
|
|
DisplayCopNames: true
|
2017-12-05 04:46:03 -05:00
|
|
|
TargetRubyVersion: 2.1
|
2016-01-14 09:15:30 -05:00
|
|
|
Exclude:
|
|
|
|
- "gemfiles/**/*"
|
|
|
|
- "vendor/**/*"
|
|
|
|
- "lib/generators/**/*"
|
|
|
|
|
2017-03-17 12:31:58 -04:00
|
|
|
Metrics/BlockLength:
|
|
|
|
Exclude:
|
|
|
|
- "**/*_spec.rb"
|
|
|
|
|
2016-01-14 09:15:30 -05:00
|
|
|
Metrics/MethodLength:
|
|
|
|
Max: 40
|
|
|
|
|
|
|
|
Metrics/ModuleLength:
|
|
|
|
Max: 200
|
2017-03-17 12:31:58 -04:00
|
|
|
Exclude:
|
|
|
|
- "**/*_spec.rb"
|
2016-01-14 09:15:30 -05:00
|
|
|
|
|
|
|
Metrics/LineLength:
|
|
|
|
Max: 120
|
|
|
|
|
|
|
|
Metrics/AbcSize:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/CyclomaticComplexity:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/PerceivedComplexity:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/StructInheritance:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-12-05 04:46:03 -05:00
|
|
|
Layout/AlignParameters:
|
2016-01-14 09:15:30 -05:00
|
|
|
EnforcedStyle: with_fixed_indentation
|
|
|
|
|
|
|
|
Style/StringLiterals:
|
|
|
|
EnforcedStyle: double_quotes
|
|
|
|
|
|
|
|
Style/StringLiteralsInInterpolation:
|
|
|
|
EnforcedStyle: double_quotes
|
|
|
|
|
2017-12-05 04:46:03 -05:00
|
|
|
Layout/ClosingParenthesisIndentation:
|
2016-01-14 09:15:30 -05:00
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/OneLineConditional:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/AndOr:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Not:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Documentation:
|
|
|
|
Enabled: false # TODO: Enable again once we have more docs
|
|
|
|
|
2017-12-05 04:46:03 -05:00
|
|
|
Layout/CaseIndentation:
|
2017-03-17 12:31:58 -04:00
|
|
|
EnforcedStyle: case
|
2016-01-14 09:15:30 -05:00
|
|
|
SupportedStyles:
|
|
|
|
- case
|
|
|
|
- end
|
|
|
|
IndentOneStep: true
|
|
|
|
|
|
|
|
Style/PercentLiteralDelimiters:
|
|
|
|
PreferredDelimiters:
|
|
|
|
'%w': "[]"
|
|
|
|
'%W': "[]"
|
|
|
|
|
2017-12-05 04:46:03 -05:00
|
|
|
Layout/AccessModifierIndentation:
|
2016-01-14 09:15:30 -05:00
|
|
|
EnforcedStyle: outdent
|
|
|
|
|
|
|
|
Style/SignalException:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-12-05 04:46:03 -05:00
|
|
|
Layout/IndentationWidth:
|
2016-01-14 09:15:30 -05:00
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/TrivialAccessors:
|
|
|
|
ExactNameMatch: true
|
|
|
|
|
2018-04-27 06:40:42 -04:00
|
|
|
Layout/EndAlignment:
|
2017-03-17 12:31:58 -04:00
|
|
|
EnforcedStyleAlignWith: variable
|
2016-01-14 09:15:30 -05:00
|
|
|
|
2018-04-27 06:40:42 -04:00
|
|
|
Layout/DefEndAlignment:
|
2016-01-14 09:15:30 -05:00
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/HandleExceptions:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/SpecialGlobalVars:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/TrivialAccessors:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-12-05 04:46:03 -05:00
|
|
|
Layout/IndentHash:
|
2016-01-14 09:15:30 -05:00
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/DoubleNegation:
|
|
|
|
Enabled: false
|