Husky v9 Script Contains Lint Errors After Migration from v4
I migrated my project from Husky v4 to v9 and followed the instructions to initialize Husky v9 using the npx husky-init command. However, the generated script contains lint errors that I can’t understand or resolve.
Expected a JSON object, array or literal.json on Husky pre-commit s
I migrate my project from husky v4 to v9,
I ran the npx husky init
command.
and the generated script has lint errors, I don’t know why.