You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: Assign configuration object before export in commitlint.config.mjs #241
Running pnpm lint outputs an ESLint warning: Assign object to a variable before exporting as module default (import/no-anonymous-default-export) in commitlint.config.mjs.
Motivation
Maintaining 0 lint warnings ensures a pristine developer experience and prevents CI noise.
Tasks
In commitlint.config.mjs, assign the configuration object to a constant before exporting (e.g., const Configuration = { extends: ['@commitlint/config-conventional'] }; export default Configuration;).
Run pnpm lint to verify 0 warnings.
Test git commit message validation.
Tip
🚀 Want to contribute?
Comment assign me to be automatically assigned to this issue via our GitHub Actions bot. Happy coding! ✨
I would like to take this. I will assign the config to a constant before the export, then run pnpm lint and test a commit message before I open the PR.
Activity
CodeByPeace commentedon Oct 12, 2026
assign me
I would like to take this. I will assign the config to a constant before the export, then run pnpm lint and test a commit message before I open the PR.
github-actions commentedon Oct 12, 2026
🎉 Issue assigned to @CodeByPeace! Happy coding!