debian-mirror-gitlab/debian/gems-compat/jwt-2.1.0/.reek.yml

40 lines
793 B
YAML
Raw Normal View History

2019-03-15 21:16:06 +05:30
---
TooManyStatements:
max_statements: 10
UncommunicativeMethodName:
reject:
- !ruby/regexp /^[a-z]$/
- !ruby/regexp /[0-9]$/
UncommunicativeParameterName:
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /^_/
UncommunicativeVariableName:
reject:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
UtilityFunction:
enabled: false
LongParameterList:
enabled: false
DuplicateMethodCall:
max_calls: 2
IrresponsibleModule:
enabled: false
NestedIterators:
max_allowed_nesting: 2
PrimaDonnaMethod:
enabled: false
UnusedParameters:
enabled: false
FeatureEnvy:
enabled: false
ControlParameter:
enabled: false
UnusedPrivateMethod:
enabled: false
InstanceVariableAssumption:
exclude:
- !ruby/regexp /Controller$/
- !ruby/regexp /Mailer$/s