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

Enforce formatting using Prettier and Husky+lint-staged #866

Merged
merged 2 commits into from
Sep 1, 2022

Conversation

queengooborg
Copy link
Collaborator

This PR is a follow-up to #864 that enforces Prettier formatting on all applicable files. The tests will now fail if any files are not formatted properly, and Husky hooks are added to format any staged files before committing.

Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot! 🎉

.husky/pre-commit Show resolved Hide resolved
@queengooborg queengooborg merged commit fff4f85 into main Sep 1, 2022
@queengooborg queengooborg deleted the format-enforcement branch September 1, 2022 10:50
@queengooborg queengooborg mentioned this pull request Sep 8, 2022
12 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 this pull request may close these issues.

2 participants