Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-jsdoc

Package Overview
Dependencies
Maintainers
1
Versions
662
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jsdoc - npm Package Compare versions

Comparing version 4.1.1 to 4.2.0

6

dist/rules/requireReturnsDescription.js

@@ -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);

2

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc