chiubaca / vue-netlify-fauna-starter-kit

A serverless stack for building CRUD applications with authentication baked in.
https://vue-netlify-fauna.netlify.com
43 stars 10 forks source link

ESLint/Prettier Terror #44

Closed charlie17 closed 2 years ago

charlie17 commented 3 years ago

Major problems compiling locally due to ESLint/Prettier errors, but I couldn't find the usual config files in this repo. Any guidance?

Thanks for doing this helpful tutorial

chiubaca commented 3 years ago

hi @charlie17, it's all in the package.json from ln: 47 .

What specfic errors are you getting?

chiubaca commented 3 years ago

@charlie17 I've just fixed a whole bunch of dependabot issues via #45. Try cloning this repo and trying again. Hopefully it works better for you now.

charlie17 commented 3 years ago

@chiubaca Thanks for the quick follow up. Still causes a raft of lint/prettier issues. Not unique to your repo certainly, there is a ton of stuff online about the challenges of using Vue with those tools (see this one in particular, also here).

I ended up disabling by running npm remove @vue/cli-plugin-eslint

Prettier still formats the Vue file but now it doesn't throw up 100 errors when compiling/running locally (spacing, line breaks, you name it, stuff like that).

Maybe others deal with this, maybe not, but I just didn't want this crazy stuff to stand in the way of hacking around with your very helpful tutorial.

chiubaca commented 3 years ago

@charlie17 Yeah lint/prettier settings can be a real pain. It's usually a one off set-and-forget config for me. Odd I'm not able to replicate any errors on my end. However, glad you found a workaround, if you want to me take a deeper look at the issue, send through any logs you have, can go from there.