-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.yml
72 lines (72 loc) · 1.52 KB
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
env:
es6: true
node: true
plugins:
- sort-keys-fix
- sort-imports-es6-autofix
- sort-class-members
extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
rules:
"@typescript-eslint/no-empty-function": 0
"@typescript-eslint/no-explicit-any": 0
"@typescript-eslint/consistent-type-definitions": 2
"@typescript-eslint/semi":
- 2
- always
"@typescript-eslint/ban-ts-comment":
- 0
eol-last: 2
keyword-spacing:
- 2
- after: true
lines-between-class-members:
- 2
- always
no-async-promise-executor: 0
no-prototype-builtins: 0
no-trailing-spaces: 2
no-var: 2
object-curly-spacing:
- 2
- always
padding-line-between-statements:
- 2
- blankLine: always
prev: [multiline-block-like, directive]
next: "*"
- blankLine: always
prev: "*"
next: multiline-block-like
quotes:
- 2
- double
semi:
- 2
- always
sort-keys:
- 2
- asc
sort-keys-fix/sort-keys-fix:
- 2
sort-class-members/sort-class-members:
- 2
- order:
- "[alphabetical-properties]"
- constructor
- "[alphabetical-getters]"
- "[alphabetical-methods]"
- "[everything-else]"
groups:
alphabetical-properties:
- type: property
sort: alphabetical
alphabetical-getters:
- kind: get
sort: alphabetical
alphabetical-methods:
- type: method
sort: alphabetical