Skip to content

Commit

Permalink
feat(dx): configure commitlint git hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrishajev committed Sep 23, 2024
1 parent cab6d16 commit 1c3a12e
Show file tree
Hide file tree
Showing 5 changed files with 733 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"scope-enum": [
2,
"always",
[
"network",
"wallet",
"sdl",
"user",
"auth",
"billing",
"provider",
"deployment",
"dx"
]
]
}
}
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default { extends: ['@commitlint/config-conventional'] };
Loading

0 comments on commit 1c3a12e

Please sign in to comment.