From 2dbf0da6676236877d26a9b1f3443af47784bc70 Mon Sep 17 00:00:00 2001 From: Juun Date: Sat, 2 Dec 2023 22:24:34 +0900 Subject: [PATCH] chore: commit lint husky test --- .husky/commit-msg | 4 ++++ commitlint.config.js | 1 + 2 files changed, 5 insertions(+) create mode 100755 .husky/commit-msg create mode 100644 commitlint.config.js diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100755 index 0000000..c160a77 --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npx --no -- commitlint --edit ${1} diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000..3d88028 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1 @@ +module.exports = { extends: ['@commitlint/config-conventional'] }; \ No newline at end of file