-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
43 lines (42 loc) · 1.16 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
{
"env": {
"node": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "script"
},
"rules": {
"quotes": ["error", "single", {
"allowTemplateLiterals": true
}],
"comma-dangle": "off",
"no-unused-vars": "warn",
"no-extra-semi": "error",
"array-bracket-spacing": ["warn", "never"],
"capitalized-comments": "off",
"comma-spacing": ["error", {
"before": false,
"after": true
}],
"indent": ["error", 4],
"semi": ["error", "always"],
"spaced-comment": ["error", "always"],
"arrow-body-style": "off",
"arrow-parens": ["error", "always"],
"arrow-spacing": ["error", {
"before": true,
"after": true
}],
"no-duplicate-imports": ["error", {
"includeExports": true
}],
"no-var": "error",
"prefer-arrow-callback": "error",
"prefer-const": "off",
"prefer-destructuring": "off",
"sort-imports": "off",
"no-case-declarations": "off"
}
}