A system for animal shelters, providing an easy and free way for shelter owners to display their pets, help them find new homes, and fundraise.
Before committing changes, it is necessary to install dependencies:
npx husky-init && yarn install
We support node >=18.12.0. To switch between node versions, use nvm.
-
Remove
.husky/pre-commit
file -
Create empty
.husky/pre-commit
and paste the following code into the file:
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
yarn precommit
-
Run
npx husky install
-
Try committing once again.
If this instruction did not solve the problem, you can bypass the check using the --no-verify
flag:
git commit -m 'commit name' --no-verify
Before committing changes with the --no-verify
flag, it is recommended to run checks manually and fix errors if there are any:"
yarn stylelint