Repository navigation
chore(eslint): use eslint's native bulk suppressions instead of custom - #8587
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (16)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
Included review availability: This review used your included allowance. 9 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour. Your free on-demand review promotion remains active until October 9, 2026 at 6:00 PM UTC. 📝 SummarySummary by CodeRabbit
WalkthroughThe ESLint configuration removes the temporary suppression configuration and adds built-in rule settings and exceptions. A suppression-count map is added. Contributor guidance explains how to fix and prune existing suppressions, and the formatter excludes the map. Source and test code also receive lint-related updates, including optional chaining and regular-expression execution. One environment check now excludes empty-string values. Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to The suppression migration retains stale-entry checks, and no merge-blocking issue is established. Merge after normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
We seeingly came up with the same strategy that was later added to eslint itself: "bulk suppressions". This replaces our custom approach with the native one. As a bonus, eslint now fails when the suppressions become stale,
a404ef9 to
1789f8c
Compare
commit: |
There was a problem hiding this comment.
File generated with eslint --suppress-all (after deleting our custom suppressions thing). No need to review this.
| ignores: ['.github/styles/', '**/__fixtures__/', 'functions-templates/**', 'site/**'], | ||
| }, | ||
| { | ||
| rules: { |
There was a problem hiding this comment.
This is not new. I'm just moving it out of the custom suppressions file (it didn't belong there anyway).
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
We seemingly came up with the same strategy that was later added to eslint itself: "bulk suppressions".
This PR replaces our custom approach with the native one. As a bonus, eslint now fails when the suppressions become stale.