devprotocol.xyz
devprotocol.xyz copied to clipboard
[FEATURE] Use the prettier plugin
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
- [X] 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
Okay, you can add it.
On Mon, 1 Nov 2021 at 10:57, Krish Gupta @.***> wrote:
If this was added to the source, it won't affect much right?
Would enforce a code style, that's it
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/web3community/devprotocol.xyz/issues/90#issuecomment-955882431, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARNWCWAO2KUU6HZPFWXXB7LUJX6X7ANCNFSM5HC5DUWQ .
The Plugin is WIP, so we need to wait a while before it is prod released.
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