Skip to content

Commit f4a1fbe

Browse files
committed
ci: add commitlint configuration
1 parent a14b5bb commit f4a1fbe

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-conventional'] };

install_hooks.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
# Make .git_hooks folder as hooks source for git
4+
git config core.hooksPath .git_hooks/
5+
6+
# install commitlint and @commitlint/config-conventional globally
7+
npm install -g commitlint @commitlint/config-conventional

0 commit comments

Comments
 (0)