From 67eb78d2dc53cf0488ecd127ece5139c149d4bcc Mon Sep 17 00:00:00 2001 From: dvirtz Date: Mon, 20 Jun 2022 10:05:15 +0300 Subject: [PATCH] ci: fix spelling --- .cspell.json | 3 ++- .husky/commit-msg | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.cspell.json b/.cspell.json index 73cfd7f..3bc2039 100644 --- a/.cspell.json +++ b/.cspell.json @@ -4,7 +4,8 @@ "words": [ "dvirtz", "tempy", - "Yitzchaki" + "Yitzchaki", + "commitlint" ], "ignorePaths": [ "node_modules/**" diff --git a/.husky/commit-msg b/.husky/commit-msg index 0bd658f..bba1203 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,5 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" +cat "$1" | npx cspell stdin npx --no-install commitlint --edit "$1"