ctwhome / top-nuxt3

Full stack Nuxt 3 Template starter with Supabase and Tailwindcss
https://top-nuxt3.netlify.app
115 stars 17 forks source link

feat: improve ESLint, add Prettier config + commands #14

Closed devzom closed 2 months ago

devzom commented 2 years ago

@ctwhome let's see if it's needed. Works for me. Check before merge please. Regards

netlify[bot] commented 2 years ago

👷 Deploy request for top-nuxt3 pending review. Visit the deploys page to approve it

🔨 Explore the source changes: 9babf889e7affbc7ba0fc0ef1725174fd22bbfc2

ctwhome commented 2 years ago

Hi @devzom thanks for the pr, nuxt is more than ever a community effort!

I used to mix eslint with prettier before, but since I moved to only eslint with fix on save it simplify the dx workflow sincei only have to mantén one tool.

Is there any particular reason do you use prettier? Many thanks

devzom commented 1 year ago

@ctwhome sorry for so late response. ;< I've used to add prettier as extension of eslint encapsulated in eslint-prettier which does follow a good patterns in it. But as You said DX is better when only count on eslint, let's close this PR :)