Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format code on commit #9

Open
davidwessman opened this issue Feb 4, 2023 · 3 comments
Open

Format code on commit #9

davidwessman opened this issue Feb 4, 2023 · 3 comments

Comments

@davidwessman
Copy link
Collaborator

How do you feel about automatic formatting?

I have enjoyed using Prettier before.

@raae
Copy link
Member

raae commented Feb 4, 2023

I love it. I usually let VSCode format for me, and using the defaults in this one by having an empty https://github.com/queen-raae/yoga-pirates-bot/blob/main/.prettierrc.

@davidwessman
Copy link
Collaborator Author

I love it. I usually let VSCode format for me, and using the defaults in this one by having an empty https://github.com/queen-raae/yoga-pirates-bot/blob/main/.prettierrc.

Hm, my vs-code formatting does not work without an empty prettier.config.js, maybe that is just some version or different plugins? But auto-formatting is so sweet 🙂

@raae
Copy link
Member

raae commented Feb 5, 2023

Super weird, I thought they were interchangeable... https://prettier.io/docs/en/configuration.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants