Hacker News new | ask | show | jobs
by ayuhito 977 days ago
Having too many options leads to a lot of bikeshedding as the whole ecosystem ends up fragmenting and disagreeing with each other. It’s one of things I really dislike about JS compared to something like Go.

Personally, I stick to opinionated rulesets such as Standard[1], AirBnb[2] and Unicorn[3] since you won’t spend hours tweaking and selecting new rules.

[1] https://standardjs.com/

[2] https://github.com/airbnb/javascript

[3] https://github.com/sindresorhus/eslint-plugin-unicorn

1 comments

I use prettier for this reason. There’s very few config options on purpose. If I use eslint it’s for additional issue detection, not formatting.
+1 for prettier, I plop the same minimal config in every project and off I go.