Skip to content

feat(lint): run the lint rule review skill on custom oxlint rules - #131080

Draft
JoshuaKGoldberg wants to merge 1 commit into
masterfrom
joshgoldberg/lint-rule-review-fixes
Draft

JoshuaKGoldberg wants to merge 1 commit into
masterfrom
joshgoldberg/lint-rule-review-fixes

Conversation

@JoshuaKGoldberg

@JoshuaKGoldberg JoshuaKGoldberg commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Reviews every custom rule in the Sentry and Scraps oxlint plugins using https://github.com/JoshuaKGoldberg/lint-rule-review-skill. It found:

  • false positives and negatives
  • autofixes that produced broken code or dropped comments
  • over-wide report ranges
  • dead code
  • simplifications to the shared Scraps style extractor

The few app files touched are for new violations from rules that now report more (e.g. export {X as default}), and the new prefer-fake-timers hits are recorded as suppressions.

Closes DE-1654.

Fixes false positives, false negatives, broken autofixes, and over-wide report ranges across the sentry and scraps oxlint plugins, removes dead code, and adds the test cases that expose each.
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-7y1lvhcs7.sentry.dev

@github-actions

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

Metric Before After Delta
Coverage 96.03% 96.02% 🔴 -0.01%
Typed 142,300 142,190 🔴 -110
Untyped 5,890 5,889 🟢 -1
🔍 3 new type safety issues introduced

Non-null assertions (!) (3 new)

File Line Detail
static/oxlint/eslintPluginSentry/namingConvention.ts 41 node.id.quasis[0]!
static/oxlint/eslintPluginSentry/noUnnecessaryUseCallback.ts 275 useCallbackBindings.get(variable)!
static/oxlint/eslintPluginSentry/sortInterfaceKeys.ts 13 member.parameters[0]!

This is informational only and does not block the PR.

@linear-code

linear-code Bot commented Nov 13, 2026

Copy link
Copy Markdown

DE-1654

@JoshuaKGoldberg JoshuaKGoldberg changed the title fix(lint): Fix bugs found reviewing custom oxlint rules feat(lint): run the lint rule review skill on custom oxlint rules Nov 13, 2026
@JoshuaKGoldberg

Copy link
Copy Markdown
Member Author

@cursor review

This branch was successfully deployed

1 active deployment
Preview — 9a9d45eb Deployed Nov 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant