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

More strict Prettier rules #227

Open
gskril opened this issue Apr 15, 2024 · 1 comment
Open

More strict Prettier rules #227

gskril opened this issue Apr 15, 2024 · 1 comment

Comments

@gskril
Copy link
Member

gskril commented Apr 15, 2024

Whenever I press save on a file, there are a lot of formatting changes (indents, quotes, semicolons, etc). Might be partially because of my weird system defaults, but more consistency would be great.

Eg in #226 there is a bigger diff than intended because of formatting.

@gskril
Copy link
Member Author

gskril commented Apr 15, 2024

Just realized the existing .prettierrc file is in app so it's not getting applied to the mdx files. Should we move it to the root and run prettier --write in a pre-commit hook?

gskril added a commit that referenced this issue Apr 15, 2024
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

1 participant