提交 2a32b347 编写于 作者: EvanOne(文一)'s avatar EvanOne(文一)

chore: add hooks for lint before commit

上级 8988acf5
......@@ -4,7 +4,7 @@
"description": "A beautiful & simple theme for Hexo",
"homepage": "https://liuyib.github.io",
"scripts": {
"cz": "git cz",
"commit": "git cz",
"release": "standard-version",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
......@@ -49,6 +49,7 @@
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:fix",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册