From 05354476f72b6dd9327812500d6f082a85c7e030 Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Fri, 30 Aug 2024 19:47:42 +0200 Subject: [PATCH] Add husky pre-commit hook --- .husky/pre-commit | 2 ++ demo/index.html | 2 +- package-lock.json | 25 +++++++++++++++++++++---- package.json | 4 +++- test/sparql-editor.test.ts | 2 +- 5 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..c7eec00 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,2 @@ +npm run fmt +npm run lint diff --git a/demo/index.html b/demo/index.html index 231e56a..587959c 100644 --- a/demo/index.html +++ b/demo/index.html @@ -13,7 +13,7 @@
-

SPARQL editors for SIB endpoints

+

💫 SPARQL editors for SIB endpoints