npm run husky-install. Then create your hook with the following command: npx husky add .husky/pre-commit "npm run lint-staged".
確定! 回上一頁