.rubocop.yml
inherit_from: .rubocop_todo.yml
AllCops:
Exclude:
- spec/fixtures/**/*
TargetRubyVersion: 2.3
Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
Layout/FirstArgumentIndentation:
EnforcedStyle: consistent
Layout/HeredocIndentation:
EnforcedStyle: squiggly
Layout/MultilineMethodCallBraceLayout:
Enabled: false
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
# We use the symbols `:true` and `:false` in S-expressions.
Lint/BooleanSymbol:
Enabled: false
# Not useful compared to e.g. AbcSize
Metrics/BlockLength:
Enabled: false
# Not useful compared to e.g. AbcSize
Metrics/ClassLength:
Enabled: false
# Not useful compared to e.g. AbcSize
Metrics/MethodLength:
Enabled: false
# Not useful compared to e.g. AbcSize
Metrics/ModuleLength:
Enabled: false
Metrics/ParameterLists:
Max: 6
# EOS is a well-known delimiter and thus satisfactory.
Naming/HeredocDelimiterNaming:
Enabled: false
# Prefer semantic delimiters, but avoid `end.x`. Too subtle to lint.
Style/BlockDelimiters:
Enabled: false
Style/Documentation:
Exclude:
- "spec/**/*"
# Too subtle to lint. Avoid postfix operators unless line is very simple.
Style/IfUnlessModifier:
Enabled: false
# Guard clauses are great, but this is too subtle to lint.
Style/GuardClause:
Enabled: false
# Too subtle to lint. Avoid postfix operators unless line is very simple.
Style/WhileUntilModifier:
Enabled: false