-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
44 lines (44 loc) · 897 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
36
37
38
39
40
41
42
43
44
{
"parserOptions": {
"parser": "babel-eslint",
"ecmaVersion": 2020,
"sourceType": "module"
},
"env": {
"node": true,
"jest": true,
"es6": true
},
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"plugins": ["import", "jest", "prettier"],
"rules": {
"eqeqeq": "error",
"no-console": "warn",
"object-shorthand": "error",
"prefer-const": "error",
"spaced-comment": [
"error",
"always",
{
"line": {
"exceptions": ["///"]
},
"block": {
"exceptions": ["*"],
"balanced": true
}
}
],
"curly": "error",
"jest/no-focused-tests": 2,
"jest/no-identical-title": 2,
"prettier/prettier": [
"error", { "endOfLine": "auto" }
]
},
"globals": {
"_trm": false,
"__DEBUG__": false,
"__BUILD_TIME__": false
}
}