Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit eda4bd2

Browse files
feat: require param type in valid-jsdoc
1 parent 8a2a5ae commit eda4bd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

environments/shared/optional.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module.exports = {
2929
// This rule aims to prevent invalid and incomplete JSDoc comments.
3030
'valid-jsdoc': ['warn', {
3131
requireReturn: true,
32+
requireParamType: true,
3233
requireReturnDescription: false,
3334
}],
3435

0 commit comments

Comments
 (0)