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;