From d49cbb3dd2a213e1dc3b7226dcd87f0a72780104 Mon Sep 17 00:00:00 2001 From: Mohammad Noor Abu Khleif Date: Sun, 24 Dec 2023 17:15:54 +0300 Subject: [PATCH] chore: update commit rules (#402) --- commitlint.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commitlint.config.js b/commitlint.config.js index beb345afa..c6d700e9d 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -4,8 +4,9 @@ module.exports = { 'header-max-length': [2, 'always', 250], 'type-empty': [2, 'never'], 'type-case': [2, 'always', 'lower-case'], - 'type-enum': [2, 'always', ['feat', 'refactor', 'fix', 'docs', 'test', 'chore', 'ci', 'release']], + 'type-enum': [2, 'always', ['feat', 'refactor', 'fix', 'docs', 'test', 'chore', 'ci', 'release', 'build']], 'subject-empty': [2, 'never'], + 'subject-case': [2, 'always', ['sentence-case', 'start-case', 'pascal-case', 'upper-case', 'kebab-case', 'lower-case']], 'body-leading-blank': [2, 'always'], 'body-max-line-length': [2, 'always', 100] }