From f5aafe878bba6758c2dee76406271501a7efacc1 Mon Sep 17 00:00:00 2001 From: hunterckx <118154470+hunterckx@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:49:48 -0800 Subject: [PATCH] chore: add `content` commit type to commitlint config (#169) --- commitlint.config.js | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/commitlint.config.js b/commitlint.config.js index 5073c20..c60923e 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1 +1,23 @@ -module.exports = { extends: ["@commitlint/config-conventional"] }; +module.exports = { + extends: ["@commitlint/config-conventional"], + rules: { + "type-enum": [ + 2, + "always", + [ + "build", + "chore", + "ci", + "content", + "docs", + "feat", + "fix", + "perf", + "refactor", + "revert", + "style", + "test", + ], + ], + }, +};