tools: enable concurrency for eslint

Signed-off-by: Huáng Jùnliàng <jlhwung@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/62352
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
Huáng Jùnliàng authored and GitHub committed 2026-08-26 18:03:23 +00:00
1 parent af7f91d395
commit 76bb3f7396
1 file changed
+3 -2
+3 -2
View File
@@ -1528,7 +1528,8 @@ format-md: tools/lint-md/node_modules/remark-parse/package.json ## Format the ma
LINT_JS_TARGETS = eslint.config.mjs benchmark doc lib test tools
run-lint-js = tools/eslint/node_modules/eslint/bin/eslint.js --cache \
--max-warnings=0 --report-unused-disable-directives $(LINT_JS_TARGETS)
--max-warnings=0 --report-unused-disable-directives \
--concurrency auto $(LINT_JS_TARGETS)
run-lint-js-fix = $(run-lint-js) --fix
tools/eslint/node_modules/eslint/bin/eslint.js: tools/eslint/package-lock.json
@@ -1555,7 +1556,7 @@ jslint: lint-js
run-lint-js-ci = tools/eslint/node_modules/eslint/bin/eslint.js \
--max-warnings=0 --report-unused-disable-directives -f tap \
-o test-eslint.tap $(LINT_JS_TARGETS)
--concurrency auto -o test-eslint.tap $(LINT_JS_TARGETS)
.PHONY: lint-js-ci
# On the CI the output is emitted in the TAP format.