From bc8ef898112169b15b8a749d1f4f6b4d84284680 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Tue, 21 Dec 2021 19:31:13 +0530 Subject: [PATCH] ci: strict rule for commit body length body-max-line-length is added as a warning even if the commit body is crossing the length limit of 80 its considered as a warning not an error. This commit moves the check from warning to error. Signed-off-by: Madhu Rajanna --- .commitlintrc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.commitlintrc.yml b/.commitlintrc.yml index b55fcfb1b..f63f4f828 100644 --- a/.commitlintrc.yml +++ b/.commitlintrc.yml @@ -19,7 +19,7 @@ rules: # Body shouldn't be empty body-min-length: [2, always, 1] # Wrap the lines to 80 characters. - body-max-line-length: [1, always, 80] + body-max-line-length: [2, always, 80] # always sign off the commit trailer-exists: [2, always, "Signed-off-by:"]