-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.eslintrc-jsdoc.json
36 lines (36 loc) · 1012 Bytes
/
.eslintrc-jsdoc.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
{
"plugins": [
"jsdoc"
],
"settings": {
"jsdoc": {
"tagNamePreference": {
"returns": "return"
},
"preferredTypes": {
"*": "Any",
"any": "Any",
"boolean": "Boolean",
"number": "Number",
"object": "Object",
"string": "String"
}
}
},
"rules": {
"jsdoc/check-alignment": 2,
"jsdoc/check-param-names": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 1,
"jsdoc/require-hyphen-before-param-description": 2,
"jsdoc/require-param": 2,
"jsdoc/require-param-description": 2,
"jsdoc/require-param-name": 2,
"jsdoc/require-param-type": 2,
"jsdoc/require-returns": 2,
"jsdoc/require-returns-check": 2,
"jsdoc/require-returns-description": 2,
"jsdoc/require-returns-type": 2,
"jsdoc/valid-types": 2
}
}