We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79e316c commit 85fba47Copy full SHA for 85fba47
1 file changed
lib/rules/validate-jsdoc/require-param-types.js
@@ -14,7 +14,8 @@ module.exports.options = {
14
*/
15
function validateParamTag(node, tag, err) {
16
// checking existance
17
- if (!tag.type) {
18
- return err('Missing param type', (tag.name ? tag.name.loc : null) || tag.loc);
+ if (tag.type) {
+ return;
19
}
20
+ return err('Missing param type', (tag.name ? tag.name.loc : null) || tag.loc);
21
0 commit comments