加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.reek.yml 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
iberianpig 提交于 2019-02-07 03:03 . update .reek.yml
---
### enabled rules
detectors:
TooManyInstanceVariables:
enabled: true
exclude: []
max_instance_variables: 50
TooManyMethods:
enabled: true
exclude: []
max_methods: 30
TooManyStatements:
enabled: true
exclude: []
max_statements: 80
TooManyConstants:
enabled: true
exclude: []
max_constants: 50
LongParameterList:
enabled: true
exclude: []
max_params: 8
LongYieldList:
enabled: true
exclude: []
max_params: 8
NestedIterators:
enabled: true
exclude: []
max_allowed_nesting: 5
ignore_iterators:
- tap
ModuleInitialize:
enabled: true
exclude: []
SubclassedFromCoreClass:
enabled: true
exclude: []
### unanabled rules
Attribute:
enabled: false
exclude: []
BooleanParameter:
enabled: false
exclude: []
ClassVariable:
enabled: false
exclude: []
ControlParameter:
enabled: false
exclude: []
DataClump:
enabled: false
exclude: []
DuplicateMethodCall:
enabled: false
exclude: []
FeatureEnvy:
enabled: false
exclude: []
InstanceVariableAssumption:
enabled: false
exclude: []
IrresponsibleModule:
enabled: false
exclude: []
ManualDispatch:
enabled: false
exclude: []
NilCheck:
enabled: false
exclude: []
RepeatedConditional:
enabled: false
exclude: []
UncommunicativeMethodName:
enabled: false
exclude: []
UncommunicativeModuleName:
enabled: false
exclude: []
UncommunicativeParameterName:
enabled: false
exclude: []
UncommunicativeVariableName:
enabled: false
exclude: []
UnusedParameters:
enabled: false
exclude: []
UtilityFunction:
enabled: false
exclude: []
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化