mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-22 16:33:29 +01:00
Adds git hook to check files prior to commit
This commit is contained in:
parent
dbc2fae6d6
commit
d951b8cafa
1 changed files with 4 additions and 1 deletions
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue