Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/calm-threejs-signals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"oxlint-plugin-react-doctor": patch
---

Reduce false positives across Three.js, JavaScript performance, security, and async rules by recognizing stable lifecycle guards, intentional sequencing, non-escaping values, renderer aliases, and safe DOM data flows.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
packages/fuzz/corpus/react-bench-0.9.7-audit/** -text whitespace=-trailing-space
packages/fuzz/corpus/thinky-threejs-v14-audit/** -text whitespace=-trailing-space
17 changes: 17 additions & 0 deletions packages/fuzz/corpus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,20 @@ Header format:
```

Files may use `.ts`, `.tsx`, `.js`, or `.jsx` and must parse cleanly (`pnpm test` enforces it).

## Exact audit corpora

`react-bench-0.9.7-audit/` and `thinky-threejs-v14-audit/` preserve complete source files from
exhaustive production-corpus reviews. Their manifests pin the source-report hashes, audited
callsites, source-line hashes, expected verdict counts, and fixture mappings. Regression files use
`// audit-verdict: pass` because the exact source can contain unrelated valid findings; they remain
mutation seeds instead of claiming the entire file must be diagnostic-free. True-positive files use
`// verdict: fail` and are replayed deterministically.

Regenerate the Thinky corpus from its archived scan artifacts with:

```sh
node scripts/import-thinky-threejs-audit-corpus.mjs \
<before-diagnostics.tsv> <after-diagnostics.tsv> <selected-roots.txt> \
corpus/thinky-threejs-v14-audit corpus/thinky-threejs-v14-audit.json
```
Loading