eslint-plugin-jsdoc
Advanced tools
Comparing version 4.1.1 to 4.2.0
@@ -25,2 +25,8 @@ "use strict"; | ||
_lodash.default.forEach(jsdocTags, function (jsdocTag) { | ||
var type = jsdocTag.type && jsdocTag.type.trim(); | ||
if (type === 'void' || type === 'undefined') { | ||
return; | ||
} | ||
if (!jsdocTag.description) { | ||
@@ -27,0 +33,0 @@ report('Missing JSDoc @' + targetTagName + ' description.', null, jsdocTag); |
@@ -63,3 +63,3 @@ { | ||
}, | ||
"version": "4.1.1" | ||
"version": "4.2.0" | ||
} |
@@ -2149,2 +2149,16 @@ <a name="eslint-plugin-jsdoc"></a> | ||
} | ||
/** | ||
* @returns {undefined} | ||
*/ | ||
function quux () { | ||
} | ||
/** | ||
* @returns {void} | ||
*/ | ||
function quux () { | ||
} | ||
```` | ||
@@ -2362,2 +2376,9 @@ | ||
const quux = (bar) => bar.filter(({ corge }) => corge()) | ||
/** | ||
* @inheritdoc | ||
*/ | ||
function quux (foo) { | ||
return "test" | ||
} | ||
```` | ||
@@ -2364,0 +2385,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
207977
1341
2433