mirror of https://github.com/Lissy93/dashy.git
Adds git hook to check files prior to commit
This commit is contained in:
parent
dbc2fae6d6
commit
d951b8cafa
|
@ -50,6 +50,9 @@
|
||||||
"vue-svg-loader": "^0.16.0",
|
"vue-svg-loader": "^0.16.0",
|
||||||
"vue-template-compiler": "^2.6.10"
|
"vue-template-compiler": "^2.6.10"
|
||||||
},
|
},
|
||||||
|
"gitHooks": {
|
||||||
|
"pre-commit": "yarn lint"
|
||||||
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"root": true,
|
"root": true,
|
||||||
"env": {
|
"env": {
|
||||||
|
@ -78,4 +81,4 @@
|
||||||
"> 1%",
|
"> 1%",
|
||||||
"last 2 versions"
|
"last 2 versions"
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue