UNPKG
eslint-config-mlt
Version:
beta (1.0.0)
latest (1.0.9)
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.5-patch.1
1.0.4
1.0.3
1.0.3-0
1.0.2
1.0.0
0.1.0
MLT ESLint 规则
hulu.voc.mlamp.cn/kaleidoscope/eslint-config-mlt
eslint-config-mlt
/
test
/
typescript
/
explicit-member-accessibility
/
good.ts
16 lines
(15 loc)
•
266 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class
Foo2
{
private
static
foo =
'foo'
;
public
static
getFoo
()
{
return
Foo2.foo; }
public
constructor
()
{}
protected
bar =
'bar'
;
public
getBar
()
{}
public
get
baz
()
{
return
'baz'
; }
public
set
baz
(
value
)
{ console.log(
value
); } }