From 9667846b889c9bedf7a55a9e8bb7770f8e50f565 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Sun, 15 Oct 2023 03:27:42 +0700 Subject: [PATCH] use maintained fork of `eslint-plugin-eslint-comments` --- tests/eslint/eslint.config.js | 2 +- tests/eslint/package-lock.json | 46 +++++++++++++--------------------- tests/eslint/package.json | 2 +- 3 files changed, 19 insertions(+), 31 deletions(-) diff --git a/tests/eslint/eslint.config.js b/tests/eslint/eslint.config.js index f8c75b7ac3dd..82c65f02845b 100644 --- a/tests/eslint/eslint.config.js +++ b/tests/eslint/eslint.config.js @@ -4,7 +4,7 @@ const confusingBrowserGlobals = require('confusing-browser-globals'); const parserJSONC = require('jsonc-eslint-parser'); const pluginArrayFunc = require('eslint-plugin-array-func'); const pluginESX = require('eslint-plugin-es-x'); -const pluginESlintComments = require('eslint-plugin-eslint-comments'); +const pluginESlintComments = require('@eslint-community/eslint-plugin-eslint-comments'); const pluginFilenames = require('eslint-plugin-filenames'); const pluginImport = require('eslint-plugin-import'); const pluginJSONC = require('eslint-plugin-jsonc'); diff --git a/tests/eslint/package-lock.json b/tests/eslint/package-lock.json index b404ec2b6c72..e6c4bc0ac5d4 100644 --- a/tests/eslint/package-lock.json +++ b/tests/eslint/package-lock.json @@ -6,11 +6,11 @@ "": { "name": "tests/eslint", "devDependencies": { + "@eslint-community/eslint-plugin-eslint-comments": "^4.1.0", "confusing-browser-globals": "^1.0.11", "eslint": "^8.51.0", "eslint-plugin-array-func": "^4.0.0", "eslint-plugin-es-x": "^7.2.0", - "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-import": "^2.28.1", "eslint-plugin-jsonc": "^2.10.0", @@ -212,6 +212,22 @@ "node": ">=4" } }, + "node_modules/@eslint-community/eslint-plugin-eslint-comments": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-4.1.0.tgz", + "integrity": "sha512-B2mwipifrBS5E00vN8vME68laPMZ0h3sNGOEDj5g9iUN9k5EU99Omq0Nc325eKNoFFDnDtiHp3DqIjO+1bstag==", + "dev": true, + "dependencies": { + "escape-string-regexp": "^4.0.0", + "ignore": "^5.2.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -1151,34 +1167,6 @@ "eslint": ">=8" } }, - "node_modules/eslint-plugin-eslint-comments": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-3.2.0.tgz", - "integrity": "sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^1.0.5", - "ignore": "^5.0.5" - }, - "engines": { - "node": ">=6.5.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=4.19.1" - } - }, - "node_modules/eslint-plugin-eslint-comments/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/eslint-plugin-filenames": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/eslint-plugin-filenames/-/eslint-plugin-filenames-1.3.2.tgz", diff --git a/tests/eslint/package.json b/tests/eslint/package.json index 72b10e08df09..44edb1ebed66 100644 --- a/tests/eslint/package.json +++ b/tests/eslint/package.json @@ -1,11 +1,11 @@ { "name": "tests/eslint", "devDependencies": { + "@eslint-community/eslint-plugin-eslint-comments": "^4.1.0", "confusing-browser-globals": "^1.0.11", "eslint": "^8.51.0", "eslint-plugin-array-func": "^4.0.0", "eslint-plugin-es-x": "^7.2.0", - "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-import": "^2.28.1", "eslint-plugin-jsonc": "^2.10.0",