tools: move ESLint to tools/eslint

Greatly simplify how ESLint and its plugins are installed.

PR-URL: https://github.com/nodejs/node/pull/53413
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Michaël Zasso 2024-06-19 21:54:08 +02:00 committed by GitHub
parent 67c19c2900
commit 2eff28fb7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3134 changed files with 7891 additions and 5211 deletions

View file

@ -7,7 +7,7 @@ if ((!common.hasCrypto) || (!common.hasIntl)) {
common.skipIfEslintMissing();
const { RuleTester } = require('../../tools/node_modules/eslint');
const { RuleTester } = require('../../tools/eslint/node_modules/eslint');
const rule = require('../../tools/eslint-rules/no-duplicate-requires');
new RuleTester({