Bug 1608535 - [ci] Parallelize ESLint in CI, r=Standard8

This can sometimes reduce ESLint's runtime by 10 minutes!

Depends on D60686

Differential Revision: https://phabricator.services.mozilla.com/D60688

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andrew Halberstadt 2020-01-23 14:22:08 +00:00
parent 8f09bc743f
commit e431feba99

View File

@ -76,7 +76,7 @@ eslint:
cp -r /build/node_modules_eslint node_modules &&
ln -s ../tools/lint/eslint/eslint-plugin-mozilla node_modules &&
ln -s ../tools/lint/eslint/eslint-plugin-spidermonkey-js node_modules &&
./mach lint -v -l eslint -f treeherder --quiet -f json:/builds/worker/mozlint.json
./mach lint -v -l eslint -f treeherder --quiet -f json:/builds/worker/mozlint.json *
when:
files-changed:
# Files that are likely audited.