From a95061ddd088210c5111490234bc1588002cddd5 Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Mon, 28 Sep 2020 00:05:21 +0100 Subject: [PATCH] fix(commitlint): fix header length at 72 chars as agreed at WG meeting. Fix body/header length to 120 after further discussion. --- commitlint.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/commitlint.config.js b/commitlint.config.js index 2f9d1aa..4eb37f4 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,3 +1,8 @@ module.exports = { extends: ['@commitlint/config-conventional'], + rules: { + 'body-max-line-length': [2, 'always', 120], + 'footer-max-line-length': [2, 'always', 120], + 'header-max-length': [2, 'always', 72], + }, };