-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc.json
42 lines (42 loc) · 944 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
{
"root": true,
"extends": ["eslint:recommended", "prettier", "plugin:json/recommended"],
"parserOptions": {
"ecmaVersion": 8
},
"env": {
"node": true,
"es6": true
},
"plugins": ["prettier"],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"tabWidth": 4,
"printWidth": 120
}
],
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "none"
}
],
"semi": ["error", "always"],
"curly": "error",
"eqeqeq": "error",
"no-eval": "error",
"no-loop-func": "error",
"radix": "error",
"comma-dangle": "error",
"no-undef": "error"
},
"globals": {
"describe": false,
"it": false,
"expect": false
}
}