Skip to content

Commit 2e25b96

Browse files
committed
ci: add commitlint configuration
1 parent 473f49c commit 2e25b96

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

.git_hooks/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
3+
npx commitlint --edit $1
4+

.husky/pre-push renamed to .git_hooks/pre-push

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
2-
. "$(dirname "$0")/_/husky.sh"
32

43
containsref() { if [[ $2 =~ $1 ]]; then echo 1; else echo 0; fi }
54

.husky/commit-msg

Lines changed: 0 additions & 4 deletions
This file was deleted.

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

commitlint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = { extends: ['@commitlint/config-conventional'] };
1+
module.exports = { extends: ['@fingerprintjs/commit-lint-dx-team'] };

0 commit comments

Comments
 (0)