Skip to content

Commit

Permalink
export: .huskyrc
Browse files Browse the repository at this point in the history
  • Loading branch information
dongyuanxin committed Jun 4, 2019
1 parent 93eb88b commit 3c99525
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "npm run check"
}
}
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,5 @@
"bugs": {
"url": "https://github.com/dongyuanxin/blog/issues"
},
"homepage": "https://github.com/dongyuanxin/blog#readme",
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
}
"homepage": "https://github.com/dongyuanxin/blog#readme"
}

0 comments on commit 3c99525

Please sign in to comment.