'feat', // 新功能 feature
'fix', // 修復 bug
'docs', // 文檔註釋
'style', // 代碼格式(不影響代碼運行的變動)
'refactor', // 重構(既不增加新功能,也不是修復bug)
'perf', // 性能優化
'test', // 增加測試
'chore', // 構建過程或輔助工具的變動
'revert', // 回退
'build' // 打包
前端一些好學好用的代碼規範-git hook+husky + commitlint - 知乎 (zhihu.com)