Skip to content

fix: convert commitlint config to ESM, fix review issues#2

Merged
PatrickHeneise merged 2 commits intomainfrom
chore/replace-jest-eslint
Apr 22, 2026
Merged

fix: convert commitlint config to ESM, fix review issues#2
PatrickHeneise merged 2 commits intomainfrom
chore/replace-jest-eslint

Conversation

@PatrickHeneise
Copy link
Copy Markdown
Member

Summary

  • Replace commitlint.config.cjs and commitlint.rules.cjs with ESM .js equivalents — fixes broken internal reference and aligns with "type": "module"
  • Add engines: { node: ">=22" } to package.json
  • Fix typo in action-message.js (commitlintRules )commitlintRules))
  • Remove dead // eslint-disable-next-line camelcase comment in lint-pr.js
  • Remove empty TODO test in lint-pr.spec.js

Test plan

  • npm test — all 21 tests pass

🤖 Generated with Claude Code

- Replace commitlint.config.cjs and commitlint.rules.cjs with ESM .js equivalents — fixes broken internal reference and aligns with "type": "module"
- Add engines field (node >=22) to package.json
- Fix typo in action-message.js (extra space in rules_not_found message)
- Remove dead eslint-disable comment in lint-pr.js
- Remove empty TODO test in lint-pr.spec.js

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@PatrickHeneise PatrickHeneise force-pushed the chore/replace-jest-eslint branch from f446654 to 9b6746a Compare April 22, 2026 22:34
@PatrickHeneise PatrickHeneise changed the title chore: convert commitlint config to ESM, fix review issues fix: convert commitlint config to ESM, fix review issues Apr 22, 2026
Update action runtime, CI matrix, engines field, and rebuild dist.

BREAKING CHANGE: Node.js 24 is now the minimum required runtime

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@PatrickHeneise PatrickHeneise marked this pull request as ready for review April 22, 2026 22:41
@PatrickHeneise PatrickHeneise merged commit d28aa3e into main Apr 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant