-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
36 lines (36 loc) · 1004 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
{
"env": {
"es2021": true,
"node": true
},
"extends": [
"google",
"plugin:jsdoc/recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["jsdoc"],
"rules": {
"no-underscore-dangle": "off",
"no-multi-spaces": "off",
"indent": ["error", 4, {"SwitchCase": 1}],
"space-unary-ops": ["error", {"words": true, "overrides": {"typeof": false}}],
"brace-style": ["error", "stroustrup"],
"operator-linebreak": ["error", "after"],
"no-lone-blocks": "off",
"no-restricted-syntax": "off",
"max-len": ["error", {"code":200}],
"valid-jsdoc": [ "error", {"prefer": {"return":"returns"} } ],
"jsdoc/no-undefined-types": [1, {
"definedTypes": [
"debug",
"is-it-check",
"events",
"https",
"crypto"
]
}]
}
}