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
/
no-unnecessary-callback-wrapper
/
tslint.json
11 lines
(10 loc)
•
255 B
JSON
View Raw
1
2
3
4
5
6
7
8
9
10
11
{
"rules"
:
{
"no-unnecessary-callback-wrapper"
:
false
}
,
"meta"
:
{
"category"
:
"style"
,
"description"
:
"禁止没必要的函数调用,如 `x => f(x)` 应该简写为 `f`"
,
"reason"
:
"没必要限制"
}
}