1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-14 06:58:28 +00:00

build: set up commitlint

This commit is contained in:
Julien Le Coupanec 2022-04-15 22:01:00 +02:00
parent d85a74febf
commit 5b44f78be2
2 changed files with 5 additions and 0 deletions

4
.husky/commit-msg Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no -- commitlint --edit ""

1
commitlint.config.js Normal file
View File

@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']}