用处lint-staged 借助git hook 实现在git commit 前自动进行代码prettier + eslint 检测。如果存在eslint error 则会commit 失败。 原理lint-staged ...
確定! 回上一頁