一般情况下,commitlint会用在git的hook回调中,如果不想自己写githooks,那么最简单的就是和husky一起使用。 npm install --save-dev husky. 在package.json中配置husky.
確定! 回上一頁