Closed jcbhmr closed 6 months ago
IMO the default options are pretty universal. You never have to think about it again. No configuring, just npx prettier -w .
and you're done. I really wish they respected the .gitignore
so I didn't have to do --ignore-path .gitignore
though to avoid formatting dist ðŸ˜
In the future, @mesqueeb you might want to consider adopting a widespread eslint config preset like:
Or make your own! 🥳
Sidenote: prettier just released Prettier v3! https://prettier.io/blog/2023/07/05/3.0.0.html
will close this one in favour of https://github.com/mesqueeb/is-what/pull/87/commits/bb6c47e97ec7081695ea9f243228c945b1238d1f
Not ready yet to get rid of prettier config sorry 😅 life's too short to look at semicolons.
Looked into a couple of eslint tools / plugins, decided to go with eslint-plugin-unicorn
I bundled everything at @cycraft/eslint
Going based on this sentiment:
Reducing the amount of customization seems like a good idea. Prettier themselves even recommend against modifying the config! 😊
Sidenote: Prettier auto-includes any
prettier-plugin-*
packages, so you don't need theplugins: []
option at all