-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
53 lines (53 loc) · 1.11 KB
/
.eslintrc.json
File metadata and controls
53 lines (53 loc) · 1.11 KB
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
45
46
47
48
49
50
51
52
53
{
"settings": {
"import/extensions": [
".js"
]
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {}
},
"extends": [
"airbnb-base",
"plugin:prettier/recommended",
"prettier"
],
"overrides": [
{
"files": [
"**/*.test.js"
],
"env": {
"mocha": true
},
"plugins": ["mocha"],
"rules": {
"mocha/no-exclusive-tests": "error",
"mocha/no-pending-tests": "error"
}
}
],
"rules": {
"import/no-extraneous-dependencies": "off",
"import/extensions": "off",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"import/no-useless-path-segments": "off",
"no-restricted-syntax": "off",
"no-console": "off",
"no-trailing-spaces": "error",
"no-unused-vars": "off",
"no-eval": "error",
"no-useless-escape": "error",
"no-loop-func": "error",
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"object-shorthand": ["error", "always"]
}
}