Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Adds git hook to check files prior to commit

Alicia Sykesd951b8cafa81
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