dev-protocol/devprotocol.xyz

[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

image

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

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