-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.json
More file actions
43 lines (43 loc) · 1.05 KB
/
Copy path.eslintrc.json
File metadata and controls
43 lines (43 loc) · 1.05 KB
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
{
"extends": "standard",
"root": true,
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
},
"env": {
"node": true
},
"globals": {},
"plugins": ["prefer-arrow"],
"rules": {
"indent": ["error", "tab"],
"arrow-body-style": ["error", "as-needed"],
"arrow-parens": ["error", "as-needed"],
"camelcase": 0,
"comma-dangle": ["error", "always-multiline"],
"curly": ["error", "multi"],
"generator-star-spacing": 0,
"handle-callback-err": [0, "error"],
"multiline-comment-style": ["error", "separate-lines"],
"no-debugger": 2,
"no-multi-spaces": 0,
"no-return-assign": 0,
"no-tabs": 0,
"no-template-curly-in-string": 0,
"no-trailing-spaces": ["error", {
"skipBlankLines": true
}],
"no-unused-vars": "error",
"no-useless-escape": "warn",
"no-var": "error",
"prefer-arrow-callback": "error",
"prefer-arrow/prefer-arrow-functions": ["error", {
"disallowPrototype": true,
"singleReturnOnly": false,
"classPropertiesAllowed": false
}],
"prefer-const": 2,
"semi": ["error", "always"]
}
}