repubmark/.rubocop.yml

53 lines
852 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:
2024-10-18 15:18:12 -04:00
TargetRubyVersion: 3.3
2024-10-18 08:32:34 -04:00
DisplayCopNames: true
NewCops: enable
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Layout/LineLength:
Max: 80
Lint/AmbiguousOperatorPrecedence:
Enabled: false
Lint/ReturnInVoidContext:
Enabled: false
2024-10-18 15:06:14 -04:00
Metrics/ClassLength:
Max: 200
2024-10-18 08:32:34 -04:00
Style/AndOr:
EnforcedStyle: conditionals
Style/DoubleNegation:
Enabled: false
Style/HashAsLastArrayItem:
Enabled: false
Style/PerlBackrefs:
Enabled: false
2024-10-18 15:06:14 -04:00
Style/SuperWithArgsParentheses:
Enabled: false
2024-10-18 08:32:34 -04:00
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/VariableInterpolation:
Enabled: false