-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
.eslintrc.json
42 lines (41 loc) · 1.08 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
41
42
{
"env": {
"node": true
},
"plugins": ["jsdoc"],
"extends": ["eslint:recommended", "plugin:jsdoc/recommended", "prettier"],
"globals": { "Set": true, "Symbol": true },
"rules": {
"no-proto": 2,
"curly": [2, "multi-line"],
"one-var": [2, "never"],
"no-else-return": 2,
"no-shadow": 2,
"no-use-before-define": [2, "nofunc"],
"jsdoc/require-jsdoc": 0,
"jsdoc/check-param-names": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 2,
"jsdoc/newline-after-description": 2,
"jsdoc/require-description-complete-sentence": 2,
"jsdoc/require-hyphen-before-param-description": 2,
"jsdoc/require-param-description": 2,
"jsdoc/require-param-name": 2,
"jsdoc/require-param-type": 2,
"jsdoc/require-param": 2,
"jsdoc/valid-types": 2
},
"settings": {
"jsdoc": {
"additionalTagNames": {
"customTags": ["hideconstructor"]
},
"preferredTypes": {
"node": "Node",
"nodewithchildren": "NodeWithChildren",
"element": "Element",
"cheerio": "Cheerio"
}
}
}
}