From 5c8627a73da97597176ca123f5ffc74ea0a99b78 Mon Sep 17 00:00:00 2001 From: Jeroen de Bruijn Date: Thu, 22 Jun 2023 15:15:07 +0200 Subject: [PATCH] ci: rename commitlint config to CommonJS to prevent commitlint module load error --- commitlint.config.js => commitlint.config.cjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename commitlint.config.js => commitlint.config.cjs (96%) diff --git a/commitlint.config.js b/commitlint.config.cjs similarity index 96% rename from commitlint.config.js rename to commitlint.config.cjs index 7d798288..a816afcd 100644 --- a/commitlint.config.js +++ b/commitlint.config.cjs @@ -1,4 +1,4 @@ -const config = { +module.exports = { extends: ['@commitlint/config-conventional'], plugins: [ { @@ -36,5 +36,3 @@ const config = { 'function-rules/header-max-length': [2, 'always'], }, }; - -export default config;