[FEATURE] Use the prettier plugin
Closed this issue ยท 19 comments
Detailed description
Aggre asked this before to add Prettier plugin to automatically format the code
Context
CC @krishguptadev
Possible implementation
https://github.com/snowpackjs/prettier-plugin-astro
Additional information
Code of Conduct
- I agree to follow this project's Code of Conduct
Buil code should not be formatted for performance reasons, I could add it to the src if you like ๐
Okay if it will affect the performance @krishguptadev, let's not add it.
So add it to the source or not?
If this was added to the source, it won't affect much right?
If this was added to the source, it won't affect much right?
Would enforce a code style, that's it
Okeh sure ๐
Stale issue message
Stale issue message
Stale issue message
Stale issue message
HI, the plugin is working like a charm now: https://github.com/withastro/prettier-plugin-astro
Stale issue message
I've opened a PR so that this issue is finally closed
Stale issue message
Stale issue message
We might want to upgrade to Astrov2 before this gets implemented just saying though
Stale issue message