Comment

Comment by Cymen

What tooling are you using that is slow? Sometimes it's all down to configuration and "you could do it that way but it takes eons..."

For example, on a recent project I added prettier to eslint and tried eslint-plugin-prettier however it was very very slow (like multiple minutes for an eslint run). I discovered it's basically a deprecated package and the right way to use it is eslint on it's own (with ruleset for prettier so it ignores what prettier should do) and prettier on it's own. Then each command runs lightning fast and there is no slowdown. Their docs even go into this issue under Notes on this page:

https://prettier.io/docs/en/integrating-with-linters.html

No doubt tooling can be slow but looking for configuration issues or bad practices is a good place to start if things are slow.

parent Cymen 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton