mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
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:
1 parent
67c19c2900
commit
2eff28fb7a
3134 files changed
+7891
-5211
No files matched your search
@@ -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()`
|
||||
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user