-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
39 lines (39 loc) · 1002 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
37
38
39
{
"env": {
"node": true
},
"extends": "google",
"plugins": ["jsdoc"],
"rules": {
"max-len": ["error", {
"code": 120,
"ignoreTrailingComments": true,
"ignoreUrls": true
}],
"quotes": ["error", "single", {
"avoidEscape": true,
"allowTemplateLiterals": true
}],
"no-shadow": "error",
"require-jsdoc": "off",
"valid-jsdoc": "off",
"jsdoc/check-param-names": "error",
"jsdoc/check-tag-names": "error",
"jsdoc/check-types": "error",
"jsdoc/newline-after-description": "off",
"jsdoc/require-description-complete-sentence": "warn",
"jsdoc/require-hyphen-before-param-description": "off",
"jsdoc/require-param": "error",
"jsdoc/require-param-description": "off",
"jsdoc/require-param-type": "error",
"jsdoc/require-returns-description": "off",
"jsdoc/require-returns-type": "error"
},
"settings": {
"jsdoc": {
"tagNamePreference": {
"returns": "return"
}
}
}
}