UNPKG
tslint-config-alloy
Version:
latest (0.2.1)
0.2.1
0.2.0
0.1.0
AlloyTeam TSLint 规则
github.com/AlloyTeam/tslint-config-alloy
AlloyTeam/tslint-config-alloy
tslint-config-alloy
/
test
/
prefer-function-over-method
/
tslint.json
11 lines
(10 loc)
•
245 B
JSON
View Raw
1
2
3
4
5
6
7
8
9
10
11
{
"rules"
:
{
"prefer-function-over-method"
:
false
}
,
"meta"
:
{
"category"
:
"style"
,
"description"
:
"类中没有使用 `this` 的方法应该提取成类外的函数"
,
"reason"
:
"太严格了"
}
}