Skip to content

Commit 67df646

Browse files
dnalborczyktimdorr
authored andcommittedApr 16, 2019
use huskyrc file (#6706)
* Update husky. * Use huskyrc file.
1 parent 29155fc commit 67df646

File tree

3 files changed

+92
-45
lines changed

3 files changed

+92
-45
lines changed
 

‎.huskyrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
hooks: {
3+
"pre-commit": "pretty-quick --staged"
4+
}
5+
};

‎package-lock.json

+85-38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-7
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,10 @@
99
"test": "node ./scripts/test.js"
1010
},
1111
"devDependencies": {
12-
"husky": "^1.1.3",
12+
"husky": "^1.3.1",
1313
"lerna": "^3.13.0",
1414
"prettier": "^1.14.3",
1515
"pretty-quick": "^1.4.1"
1616
},
17-
"dependencies": {},
18-
"husky": {
19-
"hooks": {
20-
"pre-commit": "pretty-quick --staged"
21-
}
22-
}
17+
"dependencies": {}
2318
}

0 commit comments

Comments
 (0)
Please sign in to comment.