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-shadowed-variable
/
tslint.json
11 lines
(10 loc)
•
280 B
JSON
View Raw
1
2
3
4
5
6
7
8
9
10
11
{
"rules"
:
{
"no-shadowed-variable"
:
false
}
,
"meta"
:
{
"category"
:
"functionality"
,
"description"
:
"禁止变量名与上层作用域内的定义过的变量重复"
,
"reason"
:
"很多时候函数的形参和传参是同名的"
}
}