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

Infrastructure: Run Prettier on commit of all files #2614

Merged
merged 2 commits into from
Feb 14, 2023

Conversation

nschonni
Copy link
Contributor

Now that all the linting relies on prettier, the commit hook can now run on all filetypes.
Ran npx prettier -w . and ignored some filetypes like HTML and 3rd party code.
This doesn't add any specific CI to double check for regressions though for those that don't commit with the Husky hooks enabled

@howard-e howard-e self-requested a review February 13, 2023 22:21
.prettierignore Outdated Show resolved Hide resolved
@howard-e
Copy link
Contributor

This made me notice there are some outdated paths in the package.json as well. Will submit a PR for those changes

@howard-e howard-e merged commit 0896c7a into w3c:main Feb 14, 2023
@nschonni nschonni deleted the prettier-all branch February 14, 2023 15:45
@mcking65 mcking65 added the Infrastructure Related to maintaining task force and repo operations, processes, systems, documentation label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Related to maintaining task force and repo operations, processes, systems, documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants