astro-tips.dev icon indicating copy to clipboard operation
astro-tips.dev copied to clipboard

New tip: setup eslint

Open florian-lefebvre opened this issue 2 years ago • 2 comments

florian-lefebvre avatar Nov 30 '23 21:11 florian-lefebvre

My opinion for ideal set up:

https://github.com/OliverSpeir/astro-starter/blob/main/.eslintrc.cjs

Make note about : https://github.com/OliverSpeir/astro-starter/blob/5c1f343c74652ce47994267d28eafb16b583cdfe/.eslintrc.cjs#L36

This assumes that the user will have their project set up where they keep their client side scripts in /src/assets/scripts folder

OliverSpeir avatar Mar 23 '24 04:03 OliverSpeir

oooh interesting!

florian-lefebvre avatar Mar 23 '24 10:03 florian-lefebvre