Skip to content

Commit

Permalink
added husky
Browse files Browse the repository at this point in the history
  • Loading branch information
dfee committed Jan 17, 2019
1 parent 9726018 commit 8b65015
Show file tree
Hide file tree
Showing 5 changed files with 12,373 additions and 25 deletions.
6 changes: 6 additions & 0 deletions .huskyrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const tasks = arr => arr.join(" && ");
module.exports = {
hooks: {
"pre-commit": tasks(["make test", "lint-staged"])
}
};
Loading

0 comments on commit 8b65015

Please sign in to comment.