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
/
bad.ts
16 lines
(15 loc)
•
213 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class
Foo2
{
static
foo =
'foo'
;
static
getFoo
(
) {
return
Foo2
.
foo
; }
constructor
(
) {} bar =
'bar'
;
getBar
(
) {}
get
baz
() {
return
'baz'
; }
set
baz
(
value
) {
console
.
log
(value); } }