forked from RSeidelsohn/license-checker-rseidelsohn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
40 lines (40 loc) · 1.07 KB
/
.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
{
"root": true,
"env": {
"es2020": true,
"jest": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2020
},
"extends": ["eslint:recommended", "prettier"],
"plugins": ["prettier"],
"rules": {
"no-unused-vars": ["error", { "args": "after-used" }],
"semi": 2,
"eqeqeq": [2, "allow-null"],
"no-console": 0,
"no-irregular-whitespace": 2,
"no-useless-escape": 0,
"indent": ["error", 4],
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"arrow-body-style": [2, "as-needed"],
"array-bracket-spacing": [2, "never"],
"object-curly-spacing": [2, "always"],
"prettier/prettier": ["error"],
"key-spacing": ["error", { "beforeColon": false }]
},
"env": {
"node": true,
"browser": true
}
}