Skip to content

Commit

Permalink
use huskyrc file (#6706)
Browse files Browse the repository at this point in the history
* Update husky.

* Use huskyrc file.
  • Loading branch information
dnalborczyk authored and timdorr committed Apr 16, 2019
1 parent 29155fc commit 67df646
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 45 deletions.
5 changes: 5 additions & 0 deletions .huskyrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
hooks: {
"pre-commit": "pretty-quick --staged"
}
};
123 changes: 85 additions & 38 deletions package-lock.json

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

9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@
"test": "node ./scripts/test.js"
},
"devDependencies": {
"husky": "^1.1.3",
"husky": "^1.3.1",
"lerna": "^3.13.0",
"prettier": "^1.14.3",
"pretty-quick": "^1.4.1"
},
"dependencies": {},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
"dependencies": {}
}

0 comments on commit 67df646

Please sign in to comment.