4 ms·
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 d
by ayuhito 3y 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/ https://standardjs.com/
[2] https://github.com/airbnb/javascript https://github.com/airbnb/javascript
[3] https://github.com/sindresorhus/eslint-plugin-unicorn https://github.com/sindresorhus/eslint-plugin-unicorn
- andyfleming 3y agoI 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.
- bavell 3y ago+1 for prettier, I plop the same minimal config in every project and off I go.