forked from external-repos/squoosh
Fix Husky pre-commit
By upgrading to version 7, we now ensure that NPM/Yarn will run the `prepare` script and appropriately install Husky. This also migrates us to the `pre-commit` hook as a separate file, rather than as part of the `package.json` definition.
This commit is contained in:
1
.husky/pre-commit
Executable file
1
.husky/pre-commit
Executable file
@@ -0,0 +1 @@
|
||||
npx lint-staged
|
||||
Reference in New Issue
Block a user