feat(lint/js): add usePromiseRejectErrors - #11838
Conversation
🦋 Changeset detectedLatest commit: 1ba9e8c The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: biomejs/biome/.coderabbit.yaml Review profile: CHILL Plan: Essentials Run ID: ⛔ Files ignored due to path filters (10)
📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. WalkthroughAdds the nursery Suggested reviewers: Priority: ⬇️ Low Change: Feature 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Merging this PR will degrade performance by 5.58%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ❌ | e2e_no_unresolved_imports |
2.4 ms | 2.6 ms | -5.58% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing dyc3/port-prefer-promise-reject-errors (1ba9e8c) with main (589ca1a)
Footnotes
-
284 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
3534c7c to
1ba9e8c
Compare
Summary
This PR adds usePromiseRejectErrors, which is a port of https://eslint.org/docs/latest/rules/prefer-promise-reject-errors
Does not include options from the source rule.
implemented by astra
Test Plan
snapshots
Docs