diff --git a/package.json b/package.json index 7e084ffe..ad55eeb2 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,9 @@ "vue-svg-loader": "^0.16.0", "vue-template-compiler": "^2.6.10" }, + "gitHooks": { + "pre-commit": "yarn lint" + }, "eslintConfig": { "root": true, "env": { @@ -78,4 +81,4 @@ "> 1%", "last 2 versions" ] -} +} \ No newline at end of file