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
/
label-position
/
tslint.json
11 lines
(10 loc)
•
268 B
JSON
View Raw
1
2
3
4
5
6
7
8
9
10
11
{ "rules": { "
label
-
position
": false }, "meta": { "category":
"functionality"
,
"description"
:
"只允许在 `do`, `for`, `while` 或 `switch` 中使用 `label`"
,
"reason"
:
"在任何情况都不应该使用 `label`"
} }