repubmark/.rubocop.yml
2024-10-18 18:45:59 +04:00

46 lines
769 B
YAML

inherit_from: .rubocop_todo.yml
require:
- rubocop-performance
- rubocop-rake
AllCops:
TargetRubyVersion: 3.2
DisplayCopNames: true
NewCops: enable
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Layout/LineLength:
Max: 80
Lint/AmbiguousOperatorPrecedence:
Enabled: false
Lint/ReturnInVoidContext:
Enabled: false
Style/AndOr:
EnforcedStyle: conditionals
Style/DoubleNegation:
Enabled: false
Style/HashAsLastArrayItem:
Enabled: false
Style/PerlBackrefs:
Enabled: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/VariableInterpolation:
Enabled: false