Skip to content

Commit

Permalink
ci: commitlint config
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r committed Oct 6, 2024
1 parent cfd225f commit 51118f2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
parserPreset: "conventional-changelog-conventionalcommits",
rules: {
"subject-empty": [2, "never"],
"type-case": [2, "always", "lower-case"],
"type-empty": [2, "never"],
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
],
],
},
};

0 comments on commit 51118f2

Please sign in to comment.