/
.eslintrc
70 lines (70 loc) · 1.18 KB
/
.eslintrc
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
rules:
indent:
- off
quotes:
- 2
- single
semi:
- 2
- always
array-bracket-spacing:
- 2
- always
key-spacing:
- 2
- beforeColon: false
afterColon: true
object-curly-spacing:
- 2
- always
space-infix-ops:
- 0
- int32Hint: false
no-var:
- 2
prefer-spread:
- 2
no-trailing-spaces:
- 2
block-spacing:
- 2
- always
comma-spacing:
- 2
- before: false
after: true
arrow-spacing:
- 2
- before: true
after: true
no-undef:
- 0
"@typescript-eslint/indent":
- 2
- 2
"@typescript-eslint/no-unused-vars":
- 2
"@typescript-eslint/no-use-before-define":
- 0
"@typescript-eslint/prefer-interface":
- 0
"@typescript-eslint/type-annotation-spacing":
- 2
"@typescript-eslint/no-explicit-any":
- 0
"@typescript-eslint/explicit-function-return-type":
- 0
parser: "@typescript-eslint/parser"
plugins:
- "@typescript-eslint"
parserOptions:
ecmaVersion: 2017
ecmaFeatures:
experimentalObjectRestSpread: true
sourceType: "module"
env:
es6: true
node: true
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended