chore(commitlint): convert config to ESM for module project
Some checks are pending
CI / TypeScript Check (docs) (push) Waiting to run
CI / TypeScript Check (site) (push) Waiting to run
CI / Rust Check (push) Waiting to run
CI / Security Audit (push) Waiting to run

The root package.json sets "type": "module", so Node treated
commitlint.config.js as ESM and threw "module is not defined" when
loading the CommonJS module.exports — the config never applied. Switch
to `export default` so the conventional filename stays valid and the
rules are actually enforced by the CLI.
This commit is contained in:
2026-06-16 18:25:40 -04:00
parent 72a41c2d76
commit cd9846b857

View File

@@ -1,4 +1,4 @@
module.exports = { export default {
extends: ['@commitlint/config-conventional'], extends: ['@commitlint/config-conventional'],
rules: { rules: {
// Enforce conventional commit types // Enforce conventional commit types