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

eslint-plugin-no-comments

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-no-comments - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "eslint-plugin-no-comments",
"version": "1.0.2",
"version": "1.0.3",
"description": "ESLint plugin to disallow comment blocks",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -7,3 +7,3 @@ module.exports = {

},
create(context) {
create: function(context) {
const sourceCode = context.getSourceCode();

@@ -26,3 +26,3 @@ function processComment(comment) {

const comments = sourceCode.getAllComments();
comments.forEach(processComment);
comments.forEach(processComment);
},

@@ -29,0 +29,0 @@ }

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