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: pre-commit hooks #79

Open
siqbal181 opened this issue Mar 12, 2024 · 0 comments
Open

chore: pre-commit hooks #79

siqbal181 opened this issue Mar 12, 2024 · 0 comments
Assignees

Comments

@siqbal181
Copy link
Collaborator

Pre commit hooks allow us to run scripts when the changes are in staging.

I have set up husky: https://typicode.github.io/husky/get-started.html

I have configured it so that when someone tries to commit on either FE or BE, the npm run lint:fix will run and so you can see the failures and prettier will also run.

It is a extra catch for any errors prior to reaching a PR stage.

@siqbal181 siqbal181 self-assigned this Mar 12, 2024
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

No branches or pull requests

1 participant