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-const
/
tslint.json
12 lines
(11 loc)
•
274 B
JSON
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
{
"rules"
:
{
"prefer-const"
:
false
}
,
"meta"
:
{
"category"
:
"maintainability"
,
"description"
:
"申明后不再被修改的变量必须使用 `const` 来申明"
,
"reason"
:
"没必要强制要求"
,
"has-fixer"
:
true
}
}