feat: add commitlint

This commit is contained in:
Mathias Schopmans
2024-02-26 13:58:55 +01:00
committed by Mathias Schopmans
parent 0c38e49b34
commit 9025da3ab8
4 changed files with 1547 additions and 0 deletions

26
commitlint.config.js Normal file
View File

@@ -0,0 +1,26 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [
2,
"always",
[
"feat",
"sec",
"fix",
"bug",
"test",
"refactor",
"rework",
"ops",
"ci",
"cd",
"build",
"doc",
"perf",
"chore",
"update",
],
],
},
};