diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100755 index 00000000..b4bc7500 --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +cd ui && pnpm commitlint --edit $1 --config commitlint.config.js diff --git a/ui/commitlint.config.js b/ui/commitlint.config.js index 4944db0e..84dcb122 100644 --- a/ui/commitlint.config.js +++ b/ui/commitlint.config.js @@ -1,3 +1,3 @@ module.exports = { - extends: ['@commitlint/routes-conventional'], + extends: ['@commitlint/config-conventional'], };