-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc
43 lines (43 loc) · 1.05 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
{
"parser": "babel-eslint",
"env": {
"node": true,
"es6": true,
"jest": true
},
"globals": {
"Promise": true,
"describe": true,
"it": true,
"expect": true
},
"plugins": [
"eslint-plugin-import",
"import",
"jest",
"wyze"
],
"extends": "eslint:recommended",
"rules": {
"comma-spacing": [1, {"before": false, "after": true}],
"eol-last": 1,
"import/extensions": 1,
"import/order": ["warn", {
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"]
}],
"import/no-unresolved": ["error", { "commonjs": true, "caseSensitive": true }],
"indent": ["warn", 2],
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"key-spacing": 1,
"no-multi-spaces": 1,
"keyword-spacing": 1,
"no-unused-vars": 1,
"no-trailing-spaces": 1,
"object-curly-spacing": [1, "always"],
"quotes": ["warn", "single", { "avoidEscape": true }],
"semi": 1,
"wyze/sort-destructuring-keys": "warn"
}
}