-
如果使用 vscode 开发安装 eslint 插件
-
添加 git hooks
# 加入git钩子 git config core.hooksPath .git/hooks/ rm -rf .git/hooks # Update ./git/hooks npx simple-git-hooks
| Name | Name | Last commit date | ||
|---|---|---|---|---|
如果使用 vscode 开发安装 eslint 插件
添加 git hooks
# 加入git钩子
git config core.hooksPath .git/hooks/
rm -rf .git/hooks
# Update ./git/hooks
npx simple-git-hooks