repubmark/.rubocop.yml

47 lines
769 B
YAML
Raw Normal View History

2024-10-18 08:32:34 -04:00
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