Switched to ES Modules for automations API exports#28239
Conversation
towards https://linear.app/ghost/issue/NY-1286 ref #28120 We can use `export foo` instead of `module.exports`. This change should have no user impact, but makes an upcoming change easier.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThis pull request converts the automations-api service module from CommonJS to ES module syntax. Five functions ( Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Actionable comments posted: 0 |
towards https://linear.app/ghost/issue/NY-1286
ref #28120
We can use
export fooinstead ofmodule.exports.This change should have no user impact, but makes an upcoming change easier.