-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
35 lines (35 loc) · 985 Bytes
/
.eslintrc.json
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
{
"root": true,
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2018
},
"extends": [
"eslint:recommended"
],
"plugins": ["import"],
"rules": {
"array-bracket-spacing": ["error", "never"],
"block-spacing": ["error", "always"],
"brace-style": ["error", "1tbs"],
"comma-dangle": ["error", "never"],
"import/no-unresolved": ["error", { "commonjs": true }],
"import/extensions": ["error", "always", { "js": "never" }],
"import/newline-after-import": ["error", { "count": 2 }],
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"no-console": "off",
"no-trailing-spaces": "error",
"no-tabs": "error",
"no-unused-vars": ["error", { "argsIgnorePattern": "_.*" }],
"object-curly-spacing": ["error", "always"],
"quotes": ["error", "double", { "allowTemplateLiterals": true }],
"semi": ["error", "always"]
},
"settings": {
"import/resolver": "node"
}
}