.rubocop.yml
AllCops:
Exclude:
- 'gemfiles/**/*'
- 'vendor/**/*'
- 'spec/**/*'
Metrics/LineLength:
Max: 150
Metrics/ClassLength:
Max: 300
Metrics/ModuleLength:
Max: 300
Metrics/MethodLength:
Max: 100
Metrics/ParameterLists:
Max: 8
Metrics/AbcSize:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Style/StringLiterals:
EnforcedStyle: single_quotes
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
Style/ClosingParenthesisIndentation:
Enabled: false
Style/OneLineConditional:
Enabled: false
Style/AndOr:
Enabled: false
Style/Not:
Enabled: false
Documentation:
Enabled: false
Style/CaseIndentation:
EnforcedStyle: case
SupportedStyles:
- case
- end
IndentOneStep: true
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%w': "()"
'%W': "()"
Style/AccessModifierIndentation:
EnforcedStyle: outdent
Style/SignalException:
Enabled: false
Style/IndentationWidth:
Enabled: false
Style/TrivialAccessors:
ExactNameMatch: true
Lint/EndAlignment:
EnforcedStyleAlignWith: variable
Lint/DefEndAlignment:
Enabled: false
Lint/HandleExceptions:
Enabled: false
Style/SpecialGlobalVars:
Enabled: false
Style/TrivialAccessors:
Enabled: false