feat(omiv): add husky
This commit is contained in:
parent
8044817fd9
commit
3f108075a2
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"hooks": {
|
||||
"pre-commit": "npm run fix"
|
||||
}
|
||||
}
|
|
@ -83,6 +83,7 @@
|
|||
"eslint-plugin-react": "^7.7.0",
|
||||
"flow-bin": "^0.67.1",
|
||||
"gzip-size-cli": "^2.0.0",
|
||||
"husky": "^3.0.9",
|
||||
"istanbul-instrumenter-loader": "^3.0.0",
|
||||
"jest": "^23.6.0",
|
||||
"jscodeshift": "^0.5.0",
|
||||
|
|
|
@ -229,4 +229,4 @@ obaa.set = function(obj, prop, value) {
|
|||
/* eslint-disable */
|
||||
Array.prototype.size = function (length) {
|
||||
this.length = length
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue