From 9934dac2031068f21435c5366e5be0a305ca65f5 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 20 Jul 2024 00:31:45 -0600 Subject: [PATCH] chore(config): update commit lint --- package.json | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7e08e4e6..fe567ee7 100644 --- a/package.json +++ b/package.json @@ -174,6 +174,34 @@ ] }, "commitlint": { - "extends": ["@commitlint/config-conventional"] + "extends": ["@commitlint/config-conventional"], + "rules": { + "type-enum": [ + 2, + "always", + [ + "feat", + "fix", + "docs", + "style", + "refactor", + "test", + "chore", + "perf", + "ci", + "build", + "revert" + ] + ], + "type-case": [0], + "type-empty": [0], + "scope-case": [0], + "subject-case": [0], + "subject-empty": [0], + "subject-full-stop": [0], + "header-max-length": [0], + "body-leading-blank": [1, "always"], + "footer-leading-blank": [1, "always"] + } } }