yarn add lint-staged husky --dev. Next add a hook for precommit in your package.json: { "scripts": { "precommit": "lint-staged" }, }.
確定! 回上一頁