-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Run linter on pre-commit hook #84
Comments
Additionally, I think there are a lot of files in |
Thanks, I forgot to lint tsx files. Pushed. |
😅 Ok this might be tricker than expected, as it is one repo with multiple projects, none of the out of the box solutions with Husky will work. |
I can look into writing a custom hook, iirc its really just a bash script |
Yup. But I'm on Windows atm 🙈 |
I'm very bad at running prettier, and there is a very easy way to hook it to the git pre-commit in both
server/
andclient/
https://prettier.io/docs/en/precommit.html
The text was updated successfully, but these errors were encountered: