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

chore: add husky and lint-staged for pre-commit hooks (prettier) #969

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ftonato
Copy link

@ftonato ftonato commented Dec 12, 2024

Hello,

As noted in my previous pull request #964, we are not running the format script, which has resulted in many files not being properly formatted (non-prettiered). Can we normalize the idea that "prettier" is a verb? 😅

To address this, I decided to add Husky to run prettier --write on all important files in the apps/api/src directory that are staged.


Would you like to see it in action? Your wish will be heard 🧞

CleanShot.2024-12-12.at.15.55.51.mp4

Tip

Read the comments in the code 🔥

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.

1 participant