Skip to content

Commit 2012918

Browse files
committed
refactor: refine jsdoc setup
1 parent 7ca0f5f commit 2012918

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

index.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,22 @@ module.exports = {
5656
"avoidEscape": true
5757
}
5858
],
59-
'jsdoc/check-alignment': 'error',
59+
'jsdoc/check-alignment': 'error',
6060
'jsdoc/check-indentation': 'error',
61+
"jsdoc/no-types": "error",
62+
"jsdoc/require-jsdoc": [
63+
"error",
64+
{
65+
"publicOnly": true,
66+
"checkGetters": false,
67+
"checkSetters": false,
68+
"require": {
69+
"FunctionDeclaration": true
70+
}
71+
}
72+
],
73+
"jsdoc/require-param-type": "off",
74+
"jsdoc/require-returns-type": "off",
6175
"@stylistic/no-mixed-spaces-and-tabs": [
6276
"error",
6377
"smart-tabs"

0 commit comments

Comments
 (0)