Skip to content

Commit

Permalink
MARA-10 chore: add Jira commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
a-honey committed Jan 6, 2024
1 parent 53cd248 commit 80e5f8c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
npx --no-install commitlint --edit $1
9 changes: 7 additions & 2 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
extends: ['@commitlint/config-conventional'],
rules: {
"scope-enum": [2, "always", []],
'subject-empty': [0],
'type-empty': [0],
'type-enum': [0],
'scope-case': [0],
'references-empty': [0],
'subject-full-stop': [0],
},
};

0 comments on commit 80e5f8c

Please sign in to comment.