From: Jérôme Benoit Date: Wed, 3 Apr 2024 16:02:39 +0000 (+0200) Subject: build: cleanup husky configuration X-Git-Tag: v1.3.2~19 X-Git-Url: https://git.piment-noir.org/?p=e-mobility-charging-stations-simulator.git;a=commitdiff_plain;h=90470d61f685456645c09937d047c4e25bf60dd3 build: cleanup husky configuration Signed-off-by: Jérôme Benoit --- diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec1..00000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/commit-msg b/.husky/commit-msg index c160a771..0a4b97de 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npx --no -- commitlint --edit ${1} +npx --no -- commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index cf0c46b9..041c660c 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no-install lint-staged