-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
89 lines (89 loc) · 1.29 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"plugins": [
"prettier"
],
"extends": [
"eslint:recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2022
},
"env": {
"node": true,
"mocha": true
},
"rules": {
"semi": [
1
],
"no-mixed-spaces-and-tabs": [
1
],
"no-trailing-spaces": [
1
],
"space-infix-ops": [
1
],
"quotes": [
1,
"single",
{
"allowTemplateLiterals": true,
"avoidEscape": true
}
],
"no-unused-vars": 1,
"one-var": [
1,
"never"
],
"vars-on-top": 1,
"no-undef": 1,
"no-use-before-define": 1,
"no-console": 0,
"keyword-spacing": 1,
"key-spacing": 1,
"space-before-blocks": 1,
"space-in-parens": 1,
"indent": [
1,
2
],
"camelcase": [
1,
{
"properties": "always"
}
],
"comma-spacing": [
1,
{
"before": false,
"after": true
}
],
"comma-style": [
1,
"last"
],
"newline-before-return": 1,
"object-curly-spacing": [
1,
"never"
],
"semi-spacing": [
1,
{
"before": false,
"after": true
}
],
"eqeqeq": 1,
"linebreak-style": [
1,
"unix"
]
}
}