-
Notifications
You must be signed in to change notification settings - Fork 289
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 files #998
Format files #998
Conversation
Run & review this pull request in StackBlitz Codeflow. |
✅ Deploy Preview for solid-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thanks for taking this on @amirhhashemi. I think i'm going to close this issue and have someone from the docs team tackle it. Do you mind making an issue for this, instead? |
But why? It's just Prettier. Ready for review. |
Anything that impacts configuration should be handled by the team unless they are small fixes. It might be worthwhile reviewing the Contribution Guide as we go over how we like to approach issues and PRs. For one, there are aspects of the docs that can be affected by these types of changes. I would rather have team members who are familiar with the site infra itself address them vs contributors to avoid it breaking parts of it. Since this would effect thousands of lines, I'd feel more comfortable having a team member address it. We greatly appreciate each and every one of our contributors and the work they put into PRs, but we do need to follow the procedures outlined in the Contribution Guide. This includes having issues filed and approved prior to having a PR, to start, just to make sure it aligns with our goals for the project and doesn't break anything in the process. |
Description(required)
There are many unformatted files in this repository. I often encounter these when I'm editing a file, and my editor automatically formats the file on save. This can lead to numerous unintended changes, as those files were not formatted beforehand. As a result, I usually have to manually revert these changes to keep the PR clean.
To fix it, first I ran
pnpm prettier --write .
to format all files (a2e1a39). Then I fixed a few errors manually (92cc86c)To prevent unformatted files from being merged, it's also essential to format them in the CI. I can implement this if you’re interested.
#999 fixes the Eslint error.