Skip to content

Commit 7831d51

Browse files
committed
tools: enable concurrency for eslint
1 parent 7547e79 commit 7831d51

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,8 @@ format-md: tools/lint-md/node_modules/remark-parse/package.json ## Format the ma
14331433
LINT_JS_TARGETS = eslint.config.mjs benchmark doc lib test tools
14341434

14351435
run-lint-js = tools/eslint/node_modules/eslint/bin/eslint.js --cache \
1436-
--max-warnings=0 --report-unused-disable-directives $(LINT_JS_TARGETS)
1436+
--max-warnings=0 --report-unused-disable-directives \
1437+
--concurrency auto $(LINT_JS_TARGETS)
14371438
run-lint-js-fix = $(run-lint-js) --fix
14381439

14391440
tools/eslint/node_modules/eslint/bin/eslint.js: tools/eslint/package-lock.json
@@ -1460,7 +1461,7 @@ jslint: lint-js
14601461

14611462
run-lint-js-ci = tools/eslint/node_modules/eslint/bin/eslint.js \
14621463
--max-warnings=0 --report-unused-disable-directives -f tap \
1463-
-o test-eslint.tap $(LINT_JS_TARGETS)
1464+
--concurrency auto -o test-eslint.tap $(LINT_JS_TARGETS)
14641465

14651466
.PHONY: lint-js-ci
14661467
# On the CI the output is emitted in the TAP format.

0 commit comments

Comments
 (0)