Skip to content

Commit

Permalink
chore: update release config and commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
samrith-s committed Nov 13, 2024
1 parent 3364d0e commit 704f9ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"git": {
"commitMessage": "release: v${version}",
"commitArgs": ["--no-verify"],
"commitArgs": ["-n"],
"requireCleanWorkingDir": false,
"push": false
},
Expand Down
12 changes: 10 additions & 2 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [2, "always", ["feat", "fix", "refactor", "deps", "docs", "test", "chore"]],
"scope-enum": [2, "always", ["core", "interface", "runner", "utils", "options", "logs"]],
"type-enum": [
2,
"always",
["feat", "fix", "refactor", "deps", "docs", "test", "chore", "release"],
],
"scope-enum": [
2,
"always",
["core", "interface", "runner", "utils", "options", "logs"],
],
},
};

0 comments on commit 704f9ae

Please sign in to comment.