forked from documentationjs/documentation
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
34 lines (34 loc) · 721 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
{
"root": true,
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2020
},
"rules": {
"no-var": 2,
"prefer-const": 2,
"no-use-before-define": [2, "nofunc"],
"camelcase": 2,
"no-lonely-if": 2,
"no-else-return": 2,
"new-cap": 2,
"no-empty": 2,
"consistent-return": 0,
"no-new": 2,
"object-shorthand": ["error", "always", { "avoidQuotes": true }],
"no-throw-literal": 2,
"no-self-compare": 2,
"no-void": 2,
"no-unused-vars": 2,
"wrap-iife": 2,
"no-eq-null": 2,
"strict": [2, "global"],
"no-shadow": 0,
"no-undef": 2
},
"extends": ["eslint:recommended", "prettier"],
"env": {
"node": true,
"es6": true
}
}