Skip to content

Commit

Permalink
chore: use husky instead of pre-commit [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
rigor789 committed Sep 10, 2019
1 parent 87631d0 commit 0426771
Show file tree
Hide file tree
Showing 3 changed files with 4,864 additions and 1,288 deletions.
157 changes: 108 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"@semantic-release/changelog": "3.0.4",
"@semantic-release/git": "7.0.16",
"@vuepress/plugin-google-analytics": "1.0.4",
"husky": "3.0.5",
"lint-staged": "9.2.5",
"pre-commit": "1.2.2",
"prettier": "1.18.2",
"rollup": "1.21.2",
"rollup-plugin-babel": "4.3.3",
Expand All @@ -56,7 +56,6 @@
"git add"
]
},
"pre-commit": "lint-staged",
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
Expand Down Expand Up @@ -85,5 +84,10 @@
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 2
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}
Loading

0 comments on commit 0426771

Please sign in to comment.