2016-01-14 09:15:30 -05:00
|
|
|
AllCops:
|
2017-03-17 12:31:58 -04:00
|
|
|
DisplayCopNames: true
|
2018-07-21 15:21:32 -04:00
|
|
|
TargetRubyVersion: 2.2
|
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
|
|
|
|
|
2019-08-12 07:34:03 -04:00
|
|
|
Style/FrozenStringLiteralComment:
|
|
|
|
Enabled: true
|
|
|
|
|
2016-01-14 09:15:30 -05:00
|
|
|
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
|
|
|
|
|
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/DoubleNegation:
|
|
|
|
Enabled: false
|