Skip to content

react-doctor@0.9.14

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Sep 11:37
· 1 commit to main since this release
bcf8062

Patch Changes

  • #1783 1239043 Thanks @aidenybai! - Upgrade oxlint to 1.81 and oxc-parser to 0.148.

  • #1777 52ab4f5 Thanks @aidenybai! - Detect React Compiler when @vitejs/plugin-react is called with an enabled compiler option (react({ compiler: true }) or react({ compiler: { ... } })), including aliased, namespace, and CommonJS forms of the default export. compiler: false and unrelated objects with a compiler property stay undetected, so rules disabled under React Compiler now switch off for these Vite projects.

  • #1778 1279996 Thanks @aidenybai! - Skip source files that Git still tracks but that no longer exist in the working tree (for example a deleted root index.html in a TanStack Start app) instead of failing the scan with ENOENT while preparing lint sources.

  • #1780 7c31dc7 Thanks @aidenybai! - Exclude every discovered nested workspace project from an ancestor scan, whether or not it was selected. Scanning only the root of a monorepo previously pulled a nested app's files into the root scan and judged them against the root's framework and React Compiler settings, so a compiler-enabled Expo app inside a Vite workspace reported compiler-gated rules like prefer-module-scope-pure-function that its own config suppresses. A nested project's files are now only checked by that project's scan, matching what selecting both projects already did.

  • #1779 9b1fbf4 Thanks @aidenybai! - Keep --scope changed in baseline mode when the change set deletes a source file. A deleted file that cannot be read or linted at the base commit no longer degrades the whole comparison to a plain diff; only an unreadable or unlinted base file that still exists at head does, since that is the only gap that could surface a pre-existing finding as new.

  • #1781 dfcde10 Thanks @aidenybai! - Speed up large-repository scans: reuse warm oxlint worker processes across projects, overlap project discovery with linting, and trim rule hot paths (2.4–5.5x faster wall-clock on the large-repo corpus).

  • #1801 fd64d26 Thanks @aidenybai! - Stop reporting local service .use() methods as React hooks. Preserve diagnostics for React namespace calls, including aliases and CommonJS imports.

    Only recommend setAnimationLoop when a recursive animation frame callback renders through a known Three.js renderer. Leave independent 2D canvas and DOM loops alone, including files that also import Three.js.

  • #1802 c9e3e15 Thanks @aidenybai! - Retire 33 low-value rule IDs while keeping them registered as silent compatibility entries. Make 26 cleanup, migration, performance, and security-review rules opt-in. Existing rule configurations still load; default scans no longer report these recommendations as defects.

  • #1776 8956a92 Thanks @aidenybai! - Skip TypeScript files without JSX support (.ts, .mts, and .cts, including declarations) before applying JSX duplication analysis budgets. Large generated type files no longer make the maintainability scan incomplete or consume its source-file budget. JSX-capable files retain the existing limits.

  • #1753 ce5ce93 Thanks @skoshx! - Increase runtime trace finalization timeout from 10 to 60 seconds to handle large traces from longer recording sessions

  • Updated dependencies [1239043, ff7dd67, 0fbef9b, 6ac8b71, dfcde10, fd64d26, 576d756, 2e3f6eb, c9e3e15]:

    • oxlint-plugin-react-doctor@0.9.14