Repository navigation
chore: fix the oxlint violations in the reporting and release helper scripts - #336
Merged
Merged
Conversation
cryptodev-2s
marked this pull request as ready for review
November 17, 2026 13:52
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b261d29. Configure here.
Mrtenz
reviewed
Nov 18, 2026
| const topologyJsonUrl = | ||
| 'https://raw.githubusercontent.com/MetaMask/MetaMask-planning/refs/heads/main/topology.json'; | ||
| const githubToken = process.env.GITHUB_TOKEN; | ||
| const topologyToken = process.env.GITHUB_TOKEN; |
Member
There was a problem hiding this comment.
What lint violation does this fix? 😅
Contributor
Author
There was a problem hiding this comment.
None I left it in purpose because its just more readable which token is this. I can rename it back if we prefer.
| } | ||
|
|
||
| // Helper function to escape CSV fields | ||
| function escapeCSV(field) { |
| if (lines[i].trim() === '') continue; // Skip empty lines | ||
| if (lines[i].trim() === '') { | ||
| continue; | ||
| } // Skip empty lines |
Member
There was a problem hiding this comment.
Either remove this, or move it to the top of the if block.
Suggested change
| } // Skip empty lines | |
| } |
GuillaumeRx
approved these changes
Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes the oxlint violations in the reporting and release helper scripts, removes the unused csv-parse dependency, and sets the coverage thresholds to the new measured values.
Note
Low Risk
Lint-only refactors and tooling cleanup in CI helper scripts; no production app logic or auth flows changed beyond a CSV row fix that replaces a sparse array with an empty column.
Overview
Resolves oxlint findings across Playwright test-health reporting, flaky-test Slack reports, RC commit CSV generation, release-sheet updates, and related GitHub Actions helpers—mostly style and lint compliance (unicode regex flags,
const/let, shorthand properties, braces, JSDoc, saferparseIntradix) with no intended behavior changes.Cleans up oxlint-suppressions.json by dropping entries for rules now satisfied in those files, removes the unused
csv-parsedependency (release sheet parsing already uses manual line splitting), and bumps Vitest coverage thresholds to the latest measured values.Reviewed by Cursor Bugbot for commit 3b767f7. Bugbot is set up for automated code reviews on this repo. Configure here.