From 39f59fcc079172602a5e4139842dc7f4c4150f91 Mon Sep 17 00:00:00 2001 From: Vojtech Simetka Date: Fri, 22 Apr 2022 17:49:25 +0500 Subject: [PATCH] ci: allow longer commit messages in commitlint (#346) --- .github/semantic.yml | 2 ++ commitlint.config.js | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 .github/semantic.yml create mode 100644 commitlint.config.js diff --git a/.github/semantic.yml b/.github/semantic.yml new file mode 100644 index 0000000..4168a3c --- /dev/null +++ b/.github/semantic.yml @@ -0,0 +1,2 @@ +# Always validate the PR title, and ignore the commits +titleOnly: true diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000..993f70f --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,6 @@ +module.exports = { + extends: ['@commitlint/config-conventional'], + rules: { + 'body-max-line-length': [0, 'always', Infinity], // disable commit body length restriction + }, +}