diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 00000000..3e353237 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,12 @@ +const Configuration = { + /* + * Resolve and load @commitlint/config-conventional from node_modules. + */ + extends: ['@commitlint/config-conventional'], + /* + * Ignore dependabot commit messages until https://github.com/dependabot/dependabot-core/issues/2445 is fixed. + */ + ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)], +}; + +module.exports = Configuration;