From 6aaf970fd2990d909d98d10943deeb2159c66a46 Mon Sep 17 00:00:00 2001 From: luciob Date: Fri, 20 Oct 2023 13:21:57 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20Commitlint=20config=20i?= =?UTF-8?q?n=20TS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commitlint.config.js | 4 ---- commitlint.config.ts | 8 ++++++++ 2 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 commitlint.config.js create mode 100644 commitlint.config.ts diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index c628ca6..0000000 --- a/commitlint.config.js +++ /dev/null @@ -1,4 +0,0 @@ -export default { - extends: ["@commitlint/config-conventional"], - ignores: [(message) => message.startsWith("chore(release)")], -}; diff --git a/commitlint.config.ts b/commitlint.config.ts new file mode 100644 index 0000000..873675a --- /dev/null +++ b/commitlint.config.ts @@ -0,0 +1,8 @@ +import type { UserConfig } from "@commitlint/types"; + +const configuration: UserConfig = { + extends: ["@commitlint/config-conventional"], + ignores: [(message) => message.startsWith("chore(release)")], +}; + +export default configuration;