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
/
member-access
/
tslint.json
13 lines
(12 loc)
•
435 B
JSON
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"rules"
:
{
"member-access"
:
[
true
,
"check-accessor"
,
"check-constructor"
,
"check-parameter-property"
]
}
,
"meta"
:
{
"category"
:
"typescript-specific"
,
"description"
:
"必须设置类的成员的可访问性"
,
"reason"
:
"将不需要公开的成员设为私有的,可以增强代码的可理解性,对文档输出也很友好"
,
"ts-only"
:
true
,
"has-fixer"
:
true
}
}