Socket
Socket
Sign inDemoInstall

eslint-plugin-jsdoc

Package Overview
Dependencies
Maintainers
1
Versions
656
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 46.6.0 to 46.7.0

9

dist/rules/requireReturns.js

@@ -45,2 +45,3 @@ "use strict";

contexts,
enableFixer = false,
forceRequireReturn = false,

@@ -95,3 +96,5 @@ forceReturnsWithAsync = false

if (shouldReport()) {
report(`Missing JSDoc @${tagName} declaration.`);
utils.reportJSDoc(`Missing JSDoc @${tagName} declaration.`, null, enableFixer ? () => {
utils.addTag(tagName);
} : null);
}

@@ -105,2 +108,3 @@ }, {

},
fixable: 'code',
schema: [{

@@ -139,2 +143,5 @@ additionalProperties: false,

},
enableFixer: {
type: 'boolean'
},
exemptedBy: {

@@ -141,0 +148,0 @@ items: {

2

package.json

@@ -143,3 +143,3 @@ {

},
"version": "46.6.0"
"version": "46.7.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