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 authored and GitHub committed 2024-06-19 19:54:08 +00:00
1 parent 67c19c2900
commit 2eff28fb7a
3134 files changed
+7891 -5211

No files matched your search

+1 -1
View File
@@ -472,7 +472,7 @@ Skip the rest of the tests if the current terminal is a dumb terminal
### `skipIfEslintMissing()`
Skip the rest of the tests in the current file when `ESLint` is not available
at `tools/node_modules/eslint`
at `tools/eslint/node_modules/eslint`
### `skipIfInspectorDisabled()`
+1 -1
View File
@@ -517,7 +517,7 @@ function hasMultiLocalhost() {
function skipIfEslintMissing() {
if (!fs.existsSync(
path.join(__dirname, '..', '..', 'tools', 'node_modules', 'eslint'),
path.join(__dirname, '..', '..', 'tools', 'eslint', 'node_modules', 'eslint'),
)) {
skip('missing ESLint');
}