ULL-ESIT-PL / babel-tanhauhau

:tropical_fish: Babel is a compiler for writing next generation JavaScript.
https://lihautan.com/creating-custom-javascript-syntax-with-babel
MIT License
0 stars 0 forks source link

disable husky #10

Closed crguezl closed 3 weeks ago

crguezl commented 3 weeks ago

@AdrianMoraRodriguez, @PSantanaGlez13

See https://typicode.github.io/husky/how-to.html#skipping-git-hooks

export HUSKY=0

In the package.json at the root of the project, you will find the husky configuration. We can disable husky by removing it or changing the lines:

diff --git a/package.json b/package.json
index 1b63836e5..5e50abba8 100644
--- a/package.json
+++ b/package.json
@@ -85,7 +85,7 @@
       "eslint --format=codeframe"
     ]
   },
-  "husky": {
+  "husky-disabled": {
     "hooks": {
       "pre-commit": "lint-staged"
     }