[lint] adopt `@cloudflare/oxlint-config` base lint config #17079
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.66) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.66 · 359 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.352
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.066
Real PR Conversation Timeline
1 comments
"Review active on #17079"
general
weight: 0.35
NuroDev
Adopts the shared
@cloudflare/oxlint-configpreset as a passing baseline, following the preset's migration guide..oxlintrc.jsoncwithoxlint.config.mtsbuilt on the preset. It's.mtsbecause the rootpackage.jsonisn'ttype: module.oxlint1.56 → 1.94 (the preset's minimum) and swapsoxlint-tsgolintfortsrs, the type-aware backend the preset expects.tsrsis a beta TS7 port;check:typestill uses the repo's TypeScript.no-consolestays limited to published packages.correctnessrules we enforced through the category (including the Jest-compatible rules thevitestplugin enabled) are now listed explicitly to keep that coverage.vitest/no-exportis Jest-only in oxlint 1.94 and can't be kept.no-explicit-anyandno-non-null-assertionin tests. We enforced both there, so they're re-enabled.typescript/no-unsafe-andtypescript/array-type) are temporarily off in one trailing/override.reportUnusedDisableDirectivesis off until they're re-enabled.tsrs(no-deprecated,no-unused-vars,prefer-spread,no-global-assign,unicorn/prefer-set-sizeand sevenvitest/*rules) are disabled only in the affected files.Follow-up: re-enable the temporarily disabled rules one per commit with fixes, or document why each stays off.
react/rules-of-hooksis likely to stay off outside React packages: all its findings are Miniflare test helpers likeuseTmp.---
- [ ] Tests included/updated
- [ ] Automated tests not possible - manual testing has been completed as follows:
- [x] Additional testing not necessary because: lint configuration only.
pnpm check:lint,check:format,check:catalogandcheck:pinned-depspass, and probe files confirmed project rules, theworkers-sdkplugin, per-package overrides and type-aware rules still report.- [ ] Cloudflare docs PR(s): <!--e.g. <https://github.com/cloudflare/cloudflare-docs/pull/>...-->
- [x] Documentation not necessary because: internal repository tooling only.
🤖 Generated with Claude Code
<!-- devin-review-badge-begin -->
---
<a href="https://cloudflare.devinenterprise.com/review/cloudflare/workers-sdk/pull/17079" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->