From 2ffa1382ede1e99780f053ad9cdbdddcb1a38b1d Mon Sep 17 00:00:00 2001 From: jrandolf <101637635+jrandolf@users.noreply.github.com> Date: Thu, 6 Oct 2022 09:40:39 +0200 Subject: [PATCH] chore: update commitlint.config.js (#9064) This PR adds some notes for the `commitlint` exceptions. --- commitlint.config.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/commitlint.config.js b/commitlint.config.js index 6f6801b097c..af86dc9735a 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -13,11 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +// See https://github.com/conventional-changelog/commitlint/blob/master/docs/reference-rules.md module.exports = { extends: ['@commitlint/config-conventional'], rules: { - 'body-max-line-length': [0, 'always', 100], - 'footer-max-line-length': [0, 'always', 100], - 'subject-case': [0, 'never'], + // Override. The subject may be the name of a class. + 'subject-case': [0], + // Override. Most UIs wrap the body. + 'body-max-line-length': [0], + // Override. Most UIs wrap the footer. + 'footer-max-line-length': [0], }, };