-
Notifications
You must be signed in to change notification settings - Fork 23
/
.eslintrc
42 lines (42 loc) · 933 Bytes
/
.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
{
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 5
},
"env": {
"node": true,
"jest": true,
"browser": true
},
"globals": {
"Promise": true
},
"plugins": [
"import"
],
"rules": {
"camelcase": 2,
"no-constant-condition": 0,
"no-unused-expressions": 2,
"semi": [1, "always"],
"comma-dangle": [1, "always-multiline"],
"no-restricted-globals": [2, "self", "Text"],
"no-console": 0,
"no-undef": 2,
"block-scoped-var": 2,
"no-unused-vars": 1,
"no-trailing-spaces": 1,
"keyword-spacing": 1,
"object-curly-spacing": [1, "never"],
"curly": [2, "multi-line"],
"quotes": [1, "double", {"avoidEscape": true}],
"import/no-unresolved": [2, {"commonjs": true}],
"indent": [1, 4],
"no-class-assign": 0
}
}