
ESLint v9.34.0 introduces multithread linting, a decade-long effort to speed up linting by processing multiple files simultaneously.
Why it matters:
Multiple CPU cores? Fast SSD? You’ll see big gains.
Early tests show 1.3x–3x faster linting, especially on large projects with hundreds or thousands of files.
How to
Update your eslint package in your package.json to v9.34.0 to take advantage of multithread linting.
Then, update your scripts:
"scripts": {
"lint": "eslint --fix --cache --concurrency=auto"
}
If you’re using lint-staged for pre-commit linting, configure it like this:
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix --cache --concurrency=auto"
],
"*.{json,md,css}": "prettier --write"
}
This will dramatically speed up linting on large projects by running multiple files in parallel. Perfect for faster pre-commit hooks and CI pipelines!
About the author
- I am a web developer
Comments
Join the discussionNo comments yet. Be the first to comment.



