-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
34 lines (34 loc) · 886 Bytes
/
.eslintrc.js
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
module.exports = {
"root": true,
"env": {
"node": true
},
"extends": [
],
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {
"indent": ["off", 4],
"indent": ["warn", 4],
"no-throw-literal": "off",
"no-path-concat": "warn",
"semi": "warn",
"eqeqeq": "warn",
"eol-last": "warn",
"quotes": "warn",
"no-trailing-spaces": "warn",
"camelcase": "warn",
"object-curly-spacing": "warn",
"spaced-comment": "warn",
"quote-props": "warn",
"comma-dangle": "off",
"space-before-function-paren": "off",
"no-multiple-empty-lines": "warn",
"no-cond-assign": "off",
"no-useless-escape": "off",
"no-useless-return": "off",
"no-debugger": "off",
"no-unused-expressions": "off",
},
};