mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-13 11:04:27 -05:00
73 lines
1.2 KiB
YAML
73 lines
1.2 KiB
YAML
require:
|
|
- rubocop-performance
|
|
- rubocop-rake
|
|
|
|
AllCops:
|
|
# TODO: Explore which exact syntax version mruby is compatible with
|
|
TargetRubyVersion: 2.7
|
|
DisplayCopNames: true
|
|
NewCops: enable
|
|
|
|
Layout/AccessModifierIndentation:
|
|
EnforcedStyle: outdent
|
|
|
|
Layout/LineLength:
|
|
Max: 80
|
|
|
|
Lint/AmbiguousOperatorPrecedence:
|
|
Enabled: false
|
|
|
|
Lint/ReturnInVoidContext:
|
|
Enabled: false
|
|
|
|
Metrics/BlockLength:
|
|
Exclude:
|
|
- 'Rakefile'
|
|
- 'test/**/*.rb'
|
|
|
|
Security/Eval:
|
|
Exclude:
|
|
- 'test/**/*.rb'
|
|
|
|
Security/YAMLLoad:
|
|
Exclude:
|
|
- 'test/**/*.rb'
|
|
|
|
Style/AndOr:
|
|
EnforcedStyle: conditionals
|
|
|
|
Style/Documentation:
|
|
Exclude:
|
|
- 'Rakefile'
|
|
|
|
Style/DoubleNegation:
|
|
Enabled: false
|
|
|
|
Style/ExpandPathArguments:
|
|
# __dir__ is not available in mruby
|
|
Enabled: false
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: false
|
|
|
|
Style/HashAsLastArrayItem:
|
|
Enabled: false
|
|
|
|
Style/NumericPredicate:
|
|
# Numeric#negative? is not available in mruby
|
|
Enabled: false
|
|
|
|
Style/PerlBackrefs:
|
|
Enabled: false
|
|
|
|
Style/TrailingCommaInArguments:
|
|
EnforcedStyleForMultiline: comma
|
|
|
|
Style/TrailingCommaInArrayLiteral:
|
|
EnforcedStyleForMultiline: comma
|
|
|
|
Style/TrailingCommaInHashLiteral:
|
|
EnforcedStyleForMultiline: comma
|
|
|
|
Style/VariableInterpolation:
|
|
Enabled: false
|