Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Suggestion
Right now thepre-push hook in husky runs Prettier on everything, which takes many seconds:
$ git pushyarn run v1.22.19$ yarn check-format$ prettier --list-different "./**/*.{md,mdx,ts,mts,cts,js,cjs,mjs,tsx,jsx}"Done in 19.43s.Everything up-to-dateThe repository already has apre-commit hook for formatting. It should be impossible for users to add poorly formatting code unless they manually--no-verify. Is there a reason to keeppre-push in addition topre-commit?