feat: add commitlint
This commit is contained in:
committed by
Mathias Schopmans
parent
0c38e49b34
commit
9025da3ab8
26
commitlint.config.js
Normal file
26
commitlint.config.js
Normal 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",
|
||||
],
|
||||
],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user