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

eslint-plugin-eslint-comments

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.0 to 0.1.1

15

lib/disabled-area.js

@@ -28,14 +28,2 @@ /**

/**
* Checks `a` is less than `b`.
*
* @param {{line: number, column: number}} a - A location to compare.
* @param {{line: number, column: number}} b - Another location to compare.
* @returns {boolean} `true` if `a` is less than `b`.
* @private
*/
function lt(a, b) {
return a.line < b.line || (a.line === b.line && a.column < b.column)
}
//------------------------------------------------------------------------------

@@ -186,5 +174,2 @@ // Exports

if (lt(location, area.start)) {
break
}
if ((area.ruleId === null || area.ruleId === ruleId) &&

@@ -191,0 +176,0 @@ lte(area.start, location) &&

2

package.json
{
"name": "eslint-plugin-eslint-comments",
"version": "0.1.0",
"version": "0.1.1",
"description": "Additional ESLint rules for directive comments of ESLint.",

@@ -5,0 +5,0 @@ "engines": {

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