4 ms·
Love these posts, so well-presented ESLint is so slow. I think it takes longer to lint our codebase than it does to run our hundreds and hundreds of tests over
by brundolf 4y ago
Love these posts, so well-presented
ESLint is so slow. I think it takes longer to lint our codebase than it does to run our hundreds and hundreds of tests over it. So beyond the technical deep-dive, it's really exciting that attention is being given to performance
- cout 4y agoI found a big improvement in eslint by disabling specific tests that I don't need. The worst offender was the whitespace/indentation check. Turning that off made a huge difference in overall build time.
- mhagemeister 4y agoThat's a great tip! I noticed a similar speedup when removing other formatting related plugins when I did the research for this article. Originally, I had planned to look into that too, but the article was already getting pretty long.
- brundolf 4y agoInteresting! Maybe I'll play around with that today
- Chyzwar 4y agoIn My personal projects I am now using rome.https://rome.tools/ https://rome.tools/ Eslint perf if destroyed by some of the plugins. At work we use lint-staged to run eslint on staged files only and full in CI.