Skip to content

Commit 40a2f7b

Browse files
committed
Add jscs-jsdoc configuration to .jscs.json
1 parent b8639d1 commit 40a2f7b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.jscs.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
{
2+
"plugins": [
3+
"jscs-jsdoc"
4+
],
5+
"jsDoc": {
6+
"checkAnnotations": "jsdoc3",
7+
"checkParamNames": true,
8+
"requireParamTypes": true,
9+
"checkRedundantParams": true,
10+
"checkReturnTypes": true,
11+
"checkRedundantReturns": true,
12+
"requireReturnTypes": true,
13+
"checkTypes": "strictNativeCase",
14+
"checkRedundantAccess": true,
15+
"enforceExistence": true,
16+
"requireHyphenBeforeDescription": true
17+
},
218
"requireCurlyBraces": [
319
"if",
420
"else",

0 commit comments

Comments
 (0)