DEV Community

Discussion on: Configuring eslint and prettier in LunarVim 🌙. Bonus: Tailwindcss 🌊

Collapse
 
shavlovskii profile image
Serjio

No no no! No eslint! This will fill up all RAM. Use eslint_d instead.

Collapse
 
datner profile image
Datner

What? This doesn't even make sense. If anything it's only possible the other way around.... With eslint you spawn a single instance, it lints, and done. eslint_d removes the overhead of spinning up nodejs by just staying alive for subsequent linting. Creating a server that spawns many eslint instances, which of course don't need to wait for the nodejs to warm up. Making it as fast as eslint can be. But it's still just firing eslint instances and unlike eslint it persists in your ram

I think you might have gotten something mixed up