-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
42 lines (42 loc) · 820 Bytes
/
Copy path.eslintrc
File metadata and controls
42 lines (42 loc) · 820 Bytes
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
{
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"requireConfigFile": false
},
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"rules": {
"no-var": "error",
"prefer-const": ["warn", {
"destructuring": "all"
}],
"no-console": "off",
"no-debugger": "warn",
"no-undef": "error",
"no-unused-vars": "warn",
"quotes": ["warn", "single", {
"allowTemplateLiterals": true,
"avoidEscape": true
}],
"semi": ["error", "never"],
"new-cap": 2,
"no-caller": 2,
"dot-notation": 0,
"no-eq-null": 2,
"no-unused-expressions": 0,
"curly": 0,
"eqeqeq": 2,
"wrap-iife": [2, "any"],
"no-use-before-define": [
2,
{
"functions": false
}
]
}
}