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 all files #1670

Closed
Snapstromegon opened this issue Mar 15, 2024 · 2 comments
Closed

Format all files #1670

Snapstromegon opened this issue Mar 15, 2024 · 2 comments
Labels

Comments

@Snapstromegon
Copy link
Member

Relates to #1610.

As it was shown in #1668, many files are not correctly formatted as per our current prettier default setup.
This makes it hard to contribute when you try to do everything right by running npm run format before committing.

@zachleat
Copy link
Member

We should probably add a precommit hook for this a la https://github.com/11ty/eleventy/blob/8f95fac1c4220d2b19dbc959861cd3d3e3650a21/package.json#L70-L74

zachleat added a commit that referenced this issue Mar 26, 2024
zachleat added a commit that referenced this issue Mar 26, 2024
@zachleat
Copy link
Member

Shipped!

@zachleat zachleat added the chore label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants