"scripts": { "lint": "eslint src" }, "husky": { "hooks": { "pre-commit": "npm run lint" } },. 那么,在后续的每一次 git commit 之前,都会执行一次对应的hook ...
確定! 回上一頁