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

Add Prettier #3009

Closed
2 tasks done
coliff opened this issue Sep 6, 2023 · 1 comment · Fixed by #3011
Closed
2 tasks done

Add Prettier #3009

coliff opened this issue Sep 6, 2023 · 1 comment · Fixed by #3011

Comments

@coliff
Copy link
Member

coliff commented Sep 6, 2023

Prerequisites

Proposal

It can be a bit annoying when the formatting of code changes a bit with PRs. I think it'd be good to add Prettier as a dev dependency and add the following script to package.json

"prettier": "prettier --write ./*.{js,json,md,yml}"

We should ignore the dist folder though.

Motivation and context

Keeps docs and code formatted consistently and prettier.

@roblarsen
Copy link
Member

That's fine with me.

@coliff coliff linked a pull request Sep 7, 2023 that will close this issue
9 tasks
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

Successfully merging a pull request may close this issue.

2 participants