Adds git hook to check files prior to commit

This commit is contained in:
Alicia Sykes 2021-06-11 15:56:01 +01:00
parent dbc2fae6d6
commit d951b8cafa

View File

@ -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"
]
}
}