2016-01-14 14:15:30 +00:00
|
|
|
AllCops:
|
2021-05-21 20:15:48 +00:00
|
|
|
TargetRubyVersion: 2.6
|
2016-01-14 14:15:30 +00:00
|
|
|
Exclude:
|
2019-08-21 15:10:23 +00:00
|
|
|
- "lib/generators/**/templates/**/*"
|
2022-01-13 00:39:41 +00:00
|
|
|
SuggestExtensions: false
|
|
|
|
NewCops: disable
|
2016-01-14 14:15:30 +00:00
|
|
|
|
2017-03-17 16:31:58 +00:00
|
|
|
Metrics/BlockLength:
|
|
|
|
Exclude:
|
|
|
|
- "**/*_spec.rb"
|
|
|
|
|
2016-01-14 14:15:30 +00:00
|
|
|
Metrics/MethodLength:
|
|
|
|
Max: 40
|
|
|
|
|
|
|
|
Metrics/ModuleLength:
|
|
|
|
Max: 200
|
2017-03-17 16:31:58 +00:00
|
|
|
Exclude:
|
|
|
|
- "**/*_spec.rb"
|
2016-01-14 14:15:30 +00:00
|
|
|
|
2022-01-13 00:39:41 +00:00
|
|
|
Layout/LineLength:
|
2016-01-14 14:15:30 +00:00
|
|
|
Max: 120
|
|
|
|
|
|
|
|
Metrics/AbcSize:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/CyclomaticComplexity:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/PerceivedComplexity:
|
|
|
|
Enabled: false
|
|
|
|
|
2022-01-14 16:44:43 +00:00
|
|
|
Gemspec/RequiredRubyVersion:
|
|
|
|
Enabled: false
|
|
|
|
|
2022-01-13 00:39:41 +00:00
|
|
|
Layout/ParameterAlignment:
|
2016-01-14 14:15:30 +00:00
|
|
|
EnforcedStyle: with_fixed_indentation
|
|
|
|
|
2017-12-05 09:46:03 +00:00
|
|
|
Layout/CaseIndentation:
|
2017-03-17 16:31:58 +00:00
|
|
|
EnforcedStyle: case
|
2016-01-14 14:15:30 +00:00
|
|
|
SupportedStyles:
|
|
|
|
- case
|
|
|
|
- end
|
|
|
|
IndentOneStep: true
|
|
|
|
|
2019-08-12 12:41:12 +00:00
|
|
|
Layout/EndAlignment:
|
|
|
|
EnforcedStyleAlignWith: variable
|
|
|
|
|
2016-01-14 14:15:30 +00:00
|
|
|
Style/PercentLiteralDelimiters:
|
|
|
|
PreferredDelimiters:
|
|
|
|
'%w': "[]"
|
|
|
|
'%W': "[]"
|
|
|
|
|
2019-08-12 12:41:12 +00:00
|
|
|
Style/StringLiterals:
|
|
|
|
EnforcedStyle: double_quotes
|
2016-01-14 14:15:30 +00:00
|
|
|
|
2019-08-12 12:41:12 +00:00
|
|
|
Style/StringLiteralsInInterpolation:
|
|
|
|
EnforcedStyle: double_quotes
|
|
|
|
|
|
|
|
Style/StructInheritance:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/AndOr:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Not:
|
|
|
|
Enabled: false
|
2016-01-14 14:15:30 +00:00
|
|
|
|
|
|
|
Style/DoubleNegation:
|
|
|
|
Enabled: false
|
2019-08-12 12:41:12 +00:00
|
|
|
|
2022-01-13 00:39:41 +00:00
|
|
|
Style/Documentation:
|
2019-08-12 12:41:12 +00:00
|
|
|
Enabled: false # TODO: Enable again once we have more docs
|