diff --git a/.gitignore b/.gitignore index 194c770..7628784 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ yarn-error\.log *.log \.next/ + +coverage/ diff --git a/package.json b/package.json index e36581f..8eb08e5 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,12 @@ "workspaces": [ "packages/*" ], + "husky": { + "hooks": { + "pre-commit": "yarn lint", + "pre-push": "yarn lint && yarn test" + } + }, "devDependencies": { "@babel/cli": "^7.4.3", "@babel/core": "^7.4.3",