-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
84 lines (84 loc) · 1.63 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
73
74
75
76
77
78
79
80
81
82
83
84
---
env:
node: true
es2021: true
rules:
prefer-const: warn
no-var: warn
no-undef:
- error
- typeof: true
no-dupe-args: error
no-dupe-keys: error
no-duplicate-case: error
no-extra-parens: warn
no-unreachable: error
no-unexpected-multiline: warn
valid-typeof: error
curly:
- warn
- multi
no-alert: error
no-else-return: error
no-eval: warn
no-implicit-coercion: error
no-implied-eval: error
no-iterator: error
no-loop-func: error
no-multi-str: error
no-proto: error
no-redeclare: error
no-self-assign: error
no-self-compare: error
no-useless-return: error
no-void: error
no-with: error
require-await: error
no-unused-vars: warn
no-use-before-define:
- error
- functions: false
block-spacing:
- warn
- always
brace-style:
- warn
- stroustrup
- allowSingleLine: true
camelcase: error
comma-spacing: error
comma-style: error
func-call-spacing: error
indent:
- error
- 4
- SwitchCase: 1
key-spacing: error
keyword-spacing:
- warn
- before: true
after: false
overrides:
case:
after: true
return:
after: true
throw:
after: true
var:
after: true
const:
after: true
let:
after: true
line-comment-position: error
max-params:
- error
- 4
no-tabs: error
quotes:
- warn
- single
linebreak-style:
- error
- windows