From 51dc79f4d73d6b9eb83adc5e776b4e4f98c20420 Mon Sep 17 00:00:00 2001 From: Mathias Rasmussen Date: Sun, 8 Nov 2020 02:04:03 +0100 Subject: [PATCH] ci: Update commitlint config --- .github/workflows/commitlint.config.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/commitlint.config.js b/.github/workflows/commitlint.config.js index 57dda6f..758dad0 100644 --- a/.github/workflows/commitlint.config.js +++ b/.github/workflows/commitlint.config.js @@ -1,6 +1,8 @@ module.exports = { - extends: ['@commitlint/config-conventional'], - rules: { - 'subject-case': [ 2, 'always', ['sentence-case'] ], - } + extends: ['@commitlint/config-conventional'], + rules: { + 'subject-case': [2, 'always', ['sentence-case']], + 'body-leading-blank': [2, 'always'], + 'footer-leading-blank': [2, 'always'] + } };