Your agent writes bad React. This catches it
This report summarizes scanner evidence for millionco/react-doctor, a TypeScript project with 15,071 GitHub stars. SynthScan examined 1,097,781 lines of code across 7144 source files, recording 669 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 596 finding(s).
Are imports declared and package/API names verified? 20 finding(s).
Are wrappers, guards, and repeated structures necessary? 259 finding(s).
Which changes need focused human review? 669 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 669 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | action.yml | 101 | # cache) from the most recent previous run. In CI every commit is a fresh, | COMMENT |
| LOW | action.yml | 181 | # Derive the changed set locally. Three-dot (merge-base) + AMR | COMMENT |
| LOW | action.yml | 321 | COMMENT | |
| LOW | scripts/require-typescript-plugin.ts | 1 | import type { TsdownPlugin } from "vite-plus/pack"; | COMMENT |
| LOW | …ugin-react-doctor/src/react-native-dependency-names.ts | 1 | // Canonical RN-aware-manifest detection rules. Co-located with the rule | COMMENT |
| LOW | …eact-doctor/src/test-utils/attach-parent-references.ts | 1 | // Re-exported from the production utility — see | COMMENT |
| LOW | …gin-react-doctor/src/plugin/cross-file-dependencies.ts | 161 | // The rule's in-file early-outs ("use client", an own metadata export) are | COMMENT |
| LOW | …act-doctor/src/plugin/constants/cross-file-rule-ids.ts | 1 | import { INK_RULE_IDS } from "./ink.js"; | COMMENT |
| LOW | …act-doctor/src/plugin/constants/cross-file-rule-ids.ts | 21 | // package-platform classification; `no-dynamic-import-path` and | COMMENT |
| LOW | …t-plugin-react-doctor/src/plugin/constants/tanstack.ts | 81 | "cancelQueries", | COMMENT |
| LOW | …t-plugin-react-doctor/src/plugin/constants/security.ts | 21 | // CONVENTION instead of an exact allowlist (`requireAdmin`, | COMMENT |
| LOW | …t-plugin-react-doctor/src/plugin/constants/security.ts | 121 | // who import `getUser` from an auth library normally do so as the | COMMENT |
| LOW | …t-plugin-react-doctor/src/plugin/constants/security.ts | 181 | /\bservice_role\b/i, | COMMENT |
| LOW | …/oxlint-plugin-react-doctor/src/plugin/constants/js.ts | 61 | COMMENT | |
| LOW | …/oxlint-plugin-react-doctor/src/plugin/constants/js.ts | 221 | COMMENT | |
| LOW | …plugin-react-doctor/src/plugin/constants/thresholds.ts | 21 | export const SYNCHRONOUS_THROW_RESOLUTION_DEPTH = 3; | COMMENT |
| LOW | …plugin-react-doctor/src/plugin/constants/thresholds.ts | 41 | COMMENT | |
| LOW | …plugin-react-doctor/src/plugin/constants/thresholds.ts | 61 | export const KATEX_CROSS_FILE_PROOF_MAX_DEPTH = 2; | COMMENT |
| LOW | …lint-plugin-react-doctor/src/plugin/constants/react.ts | 121 | // this set. | COMMENT |
| LOW | …lint-plugin-react-doctor/src/plugin/constants/react.ts | 201 | // about cascading network fetches) versus pure internal reactivity | COMMENT |
| LOW | …lint-plugin-react-doctor/src/plugin/constants/react.ts | 241 | ...FETCH_CALLEE_NAMES, | COMMENT |
| LOW | …lugin/utils/is-nextjs-metadata-image-route-filename.ts | 1 | import * as path from "node:path"; | COMMENT |
| LOW | …or/src/plugin/utils/collect-text-wrapper-components.ts | 541 | // Walks a program and classifies its in-file PascalCase components into | COMMENT |
| LOW | …lint-plugin-react-doctor/src/plugin/utils/file-scan.ts | 1 | // A file scan is a PROJECT-LEVEL security check, not an oxlint AST rule: | COMMENT |
| LOW | …/src/plugin/utils/get-jsx-prop-static-string-values.ts | 141 | export const getKnownStaticStringExpressionValues = ( | COMMENT |
| LOW | …t-doctor/src/plugin/utils/classify-package-platform.ts | 101 | // | COMMENT |
| LOW | …t-doctor/src/plugin/utils/classify-package-platform.ts | 121 | // section) but neither an RN nor a web-framework | COMMENT |
| LOW | …t-doctor/src/plugin/utils/cross-file-probe-recorder.ts | 1 | // Filesystem-probe recorder for the cross-file dependency collectors | COMMENT |
| LOW | …t-doctor/src/plugin/utils/cross-file-probe-recorder.ts | 21 | // dependency and the cache stays warm; | COMMENT |
| LOW | …gin-react-doctor/src/plugin/utils/parse-source-file.ts | 21 | ".cts": "ts", | COMMENT |
| LOW | …gin-react-doctor/src/plugin/utils/parse-source-file.ts | 101 | return null; | COMMENT |
| LOW | …gin-react-doctor/src/plugin/utils/parse-source-file.ts | 121 | parseCache.set(absoluteFilePath, entry); | COMMENT |
| LOW | …ct-doctor/src/plugin/utils/get-root-identifier-name.ts | 1 | import type { EsTreeNode } from "./es-tree-node.js"; | COMMENT |
| LOW | …-plugin-react-doctor/src/plugin/utils/rule-visitors.ts | 1 | // The handler parameter is intentionally `any` so each rule can declare its | COMMENT |
| LOW | …ugin-react-doctor/src/plugin/utils/get-element-type.ts | 61 | // FileContext all rule contexts inherit from), so within a file the guard | COMMENT |
| LOW | …-react-doctor/src/plugin/utils/is-testlike-filename.ts | 261 | if (NON_PRODUCTION_BASENAMES.has(basename.toLowerCase())) return true; | COMMENT |
| LOW | …ctor/src/plugin/utils/build-same-file-memo-registry.ts | 1 | import type { EsTreeNode } from "./es-tree-node.js"; | COMMENT |
| LOW | …/src/plugin/utils/is-canonical-react-namespace-name.ts | 1 | // Recognises identifier names that conventionally bind to the `react` | COMMENT |
| LOW | …es/oxlint-plugin-react-doctor/src/plugin/utils/rule.ts | 21 | COMMENT | |
| LOW | …es/oxlint-plugin-react-doctor/src/plugin/utils/rule.ts | 41 | // `"Maintainability"` and `"Correctness"` as `"Bugs"`. Set this only to | COMMENT |
| LOW | …es/oxlint-plugin-react-doctor/src/plugin/utils/rule.ts | 61 | // ANY listed capability is present the rule is skipped. | COMMENT |
| LOW | …es/oxlint-plugin-react-doctor/src/plugin/utils/rule.ts | 81 | // ports of upstream rules whose defaults produce massive noise on | COMMENT |
| LOW | …doctor/src/plugin/utils/find-guarding-try-statement.ts | 1 | import type { RethrowPredicate } from "./catch-clause-rethrows-caught.js"; | COMMENT |
| LOW | …-react-doctor/src/plugin/utils/is-react-native-file.ts | 21 | // project framework) doesn't already cover them. | COMMENT |
| LOW | …-react-doctor/src/plugin/utils/is-react-native-file.ts | 41 | // 6. Nearest package.json classifies as "unknown" (or "neutral" at the | COMMENT |
| LOW | …c/plugin/utils/collect-react-redux-selector-aliases.ts | 1 | import type { EsTreeNode } from "./es-tree-node.js"; | COMMENT |
| LOW | …c/plugin/utils/collect-react-redux-selector-aliases.ts | 21 | // const useAppSelector = useSelector; | COMMENT |
| LOW | …doctor/src/plugin/utils/find-exported-function-body.ts | 61 | exportedName: string, | COMMENT |
| LOW | …rc/plugin/utils/create-component-prop-stack-tracker.ts | 61 | // an outer component don't leak into the helper's prop check. | COMMENT |
| LOW | …-doctor/src/plugin/utils/wrap-with-semantic-context.ts | 21 | // per-rule closure instead re-ran the full O(file) analysis once per | COMMENT |
| LOW | …t-doctor/src/plugin/utils/find-variable-initializer.ts | 1 | import type { EsTreeNode } from "./es-tree-node.js"; | COMMENT |
| LOW | …doctor/src/plugin/utils/get-callee-identifier-trail.ts | 1 | import type { EsTreeNode } from "./es-tree-node.js"; | COMMENT |
| LOW | …octor/src/plugin/utils/catch-clause-rethrows-caught.ts | 41 | // DbError) throw e`) — static condition analysis is out of scope, and | COMMENT |
| LOW | …act-doctor/src/plugin/utils/is-inside-try-statement.ts | 1 | import type { EsTreeNode } from "./es-tree-node.js"; | COMMENT |
| LOW | …t-plugin-react-doctor/src/plugin/utils/es-tree-node.ts | 1 | import type { TSESTree } from "@typescript-eslint/types"; | COMMENT |
| LOW | …r/src/plugin/utils/is-inside-platform-os-web-branch.ts | 121 | COMMENT | |
| LOW | …r/src/plugin/utils/is-inside-platform-os-web-branch.ts | 141 | // Platform.OS === "web" ? <node here /> : … | COMMENT |
| LOW | …r/src/plugin/utils/enclosing-component-or-hook-name.ts | 1 | import { componentOrHookDisplayNameForFunction } from "./component-or-hook-display-name.js"; | COMMENT |
| LOW | …eact-doctor/src/plugin/utils/wrap-react-native-rule.ts | 1 | import { EMPTY_RULE_VISITORS } from "./empty-rule-visitors.js"; | COMMENT |
| LOW | …n-react-doctor/src/plugin/semantic/closure-captures.ts | 61 | // the shared frozen-by-convention array (`ReadonlyArray`, callers only | COMMENT |
| 297 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/core/src/run-inspect.ts | 371 | // ── Phase: environment checks ────────────────────────────────── | COMMENT |
| MEDIUM | packages/core/src/run-inspect.ts | 449 | // ── Phase: supply-chain score check (Socket.dev, opt-in) ─────── | COMMENT |
| MEDIUM | packages/core/src/types/inspect.ts | 112 | // ── Engine inputs ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/core/src/types/inspect.ts | 212 | // ── Rendering / orchestration knobs ────────────────────────────── | COMMENT |
| MEDIUM | packages/react-doctor/src/cli/utils/cli-state-store.ts | 39 | // ──────────────────── ───────── ─────── ────────────────── ──────────────────────── | COMMENT |
| MEDIUM | packages/react-doctor/src/cli/utils/cli-state-store.ts | 56 | // ──────────────────────────── ─────── ────────────────── ────────────────────────────── | COMMENT |
| MEDIUM | …threejs-v14-audit/regressions/dc7e1e270ab2--hud.ts.txt | 114 | // ── construction ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …threejs-v14-audit/regressions/dc7e1e270ab2--hud.ts.txt | 258 | // ── updates ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …threejs-v14-audit/regressions/dc7e1e270ab2--hud.ts.txt | 363 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …threejs-v14-audit/regressions/dc7e1e270ab2--hud.ts.txt | 365 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/e5619c73acf0--session-interaction-card.tsx.txt | 24 | // ── Types ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/e5619c73acf0--session-interaction-card.tsx.txt | 64 | // ── Component ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/e5619c73acf0--session-interaction-card.tsx.txt | 79 | // ── Inner card renderer (avoids conditional hooks in parent) ────── | COMMENT |
| MEDIUM | …essions/e5619c73acf0--session-interaction-card.tsx.txt | 90 | // ── Delivery state ──────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/e5619c73acf0--session-interaction-card.tsx.txt | 141 | // ── Permission ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …essions/e5619c73acf0--session-interaction-card.tsx.txt | 154 | // ── Question ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …essions/e5619c73acf0--session-interaction-card.tsx.txt | 162 | // ── Plan ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …essions/e5619c73acf0--session-interaction-card.tsx.txt | 170 | // ── Elicitation ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …-audit/regressions/87d233b52232--use-photo-zoom.ts.txt | 210 | // ─── Mouse drag panning ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …-audit/regressions/87d233b52232--use-photo-zoom.ts.txt | 245 | // ─── Touch pinch + pan ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/c0c5231b6288--session-interaction-card.tsx.txt | 25 | // ── Types ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/c0c5231b6288--session-interaction-card.tsx.txt | 63 | // ── Component ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/c0c5231b6288--session-interaction-card.tsx.txt | 78 | // ── Inner card renderer (avoids conditional hooks in parent) ────── | COMMENT |
| MEDIUM | …essions/c0c5231b6288--session-interaction-card.tsx.txt | 136 | // ── Permission ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …essions/c0c5231b6288--session-interaction-card.tsx.txt | 151 | // ── Question ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …essions/c0c5231b6288--session-interaction-card.tsx.txt | 159 | // ── Plan ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …essions/c0c5231b6288--session-interaction-card.tsx.txt | 167 | // ── Elicitation ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/8aed267fc9f7--session-interaction-card.tsx.txt | 24 | // ── Types ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/8aed267fc9f7--session-interaction-card.tsx.txt | 62 | // ── Component ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/8aed267fc9f7--session-interaction-card.tsx.txt | 77 | // ── Inner card renderer (avoids conditional hooks in parent) ────── | COMMENT |
| MEDIUM | …essions/8aed267fc9f7--session-interaction-card.tsx.txt | 126 | // ── Permission ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …essions/8aed267fc9f7--session-interaction-card.tsx.txt | 141 | // ── Question ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …essions/8aed267fc9f7--session-interaction-card.tsx.txt | 149 | // ── Plan ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …essions/8aed267fc9f7--session-interaction-card.tsx.txt | 157 | // ── Elicitation ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …udit/regressions/e2e9586c3d26--permission-card.tsx.txt | 94 | // ── Delivery state ───────────────────────────────────────────── | COMMENT |
| MEDIUM | …udit/regressions/e2e9586c3d26--permission-card.tsx.txt | 111 | // ── Countdown ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …udit/regressions/e2e9586c3d26--permission-card.tsx.txt | 129 | // ── Delivery ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …-0.9.7-audit/regressions/89fbe92123af--gallery.tsx.txt | 549 | // ─── Wheel zoom (focal) ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …-0.9.7-audit/regressions/89fbe92123af--gallery.tsx.txt | 619 | // ─── Pointer drag pan (mouse + single-finger touch) ───────────────────── | COMMENT |
| MEDIUM | …-0.9.7-audit/regressions/89fbe92123af--gallery.tsx.txt | 701 | // ─── Touch: swipe navigation (when unmagnified) + pinch zoom ───────────── | COMMENT |
| MEDIUM | ….7-audit/regressions/cfa2a6a9014f--use-zoom-pan.ts.txt | 219 | // ─── Wheel zoom (native, non-passive so scrolling is prevented) ────────── | COMMENT |
| MEDIUM | ….7-audit/regressions/cfa2a6a9014f--use-zoom-pan.ts.txt | 251 | // ─── Touch: pinch zoom, one-finger pan, swipe navigation ───────────────── | COMMENT |
| MEDIUM | ….7-audit/regressions/cfa2a6a9014f--use-zoom-pan.ts.txt | 379 | // ─── Mouse drag pan (desktop, only while magnified) ────────────────────── | COMMENT |
| MEDIUM | ….7-audit/regressions/cfa2a6a9014f--use-zoom-pan.ts.txt | 438 | // ─── Click: navigate only on a genuine tap ─────────────────────────────── | COMMENT |
| MEDIUM | …essions/f896607abada--session-interaction-card.tsx.txt | 24 | // ── Types ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/f896607abada--session-interaction-card.tsx.txt | 62 | // ── Component ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/f896607abada--session-interaction-card.tsx.txt | 77 | // ── Inner card renderer (avoids conditional hooks in parent) ────── | COMMENT |
| MEDIUM | …essions/f896607abada--session-interaction-card.tsx.txt | 103 | // ── Permission ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/f896607abada--session-interaction-card.tsx.txt | 141 | // ── Question ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/f896607abada--session-interaction-card.tsx.txt | 159 | // ── Plan ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …essions/f896607abada--session-interaction-card.tsx.txt | 177 | // ── Elicitation ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …udit/regressions/42eb1e74c4d3--permission-card.tsx.txt | 78 | // ── Delivery state (async flow only) ─────────────────────────────── | COMMENT |
| MEDIUM | …udit/regressions/42eb1e74c4d3--permission-card.tsx.txt | 96 | // ── Countdown ────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/smoke-tty-prompt.py | 155 | def initialize_git_repository(fixture_directory): | CODE |
| LOW | scripts/smoke-tty-prompt.py | 184 | def create_delayed_git_wrapper(fixture_directory, git_binary_path): | CODE |
| LOW | …-react-doctor/src/plugin/liveness/liveness-fixtures.ts | 1338 | code: "\n function ParentComponent() {\n function UnstableNestedFunctionComp | CODE |
| LOW | …uery-mutation-missing-invalidation.regressions.test.ts | 223 | export function useBundleDownloadUrlMutation() { | CODE |
| LOW | …ules/react-builtins/rules-of-hooks.regressions.test.ts | 328 | export function createSessionComposerState(initial) { | CODE |
| LOW | …les/react-builtins/exhaustive-deps.regressions.test.ts | 530 | function useSplitPanelFocusControl(dependencies) { | CODE |
| LOW | …les/react-builtins/exhaustive-deps.regressions.test.ts | 750 | function useClientSliceInfiniteScroll({ pageSize }, resetDeps) { | CODE |
| LOW | …les/react-builtins/exhaustive-deps.regressions.test.ts | 2291 | function IntentionalSessionSnapshot({ sessionKey, user }: { sessionKey: string; user: User }) { | CODE |
| LOW | …les/react-builtins/button-has-type.regressions.test.ts | 434 | function useCopyButtonTooltipState() { | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 24 | "code": "\n// Valid because components can call functions.\nfunction ComponentWithNormalFunction() {\n doSomethin | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 27 | "code": "\n// Valid because functions can call functions.\nfunction normalFunctionWithNormalFunction() {\n doSome | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 30 | "code": "\n// Valid because functions can call functions.\nfunction normalFunctionWithConditionalFunction() {\n i | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 33 | "code": "\n// Valid because functions can call functions.\nfunction functionThatStartsWithUseButIsntAHook() {\n i | CODE |
| LOW | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 220 | "code": "\n// Invalid because it's dangerous and might not warn otherwise.\n// This *must* be invalid.\nfunction C | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 265 | "code": "\n// Invalid because it's dangerous and might not warn otherwise.\n// This *must* be invalid.\nfunction C | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 274 | "code": "\n// Invalid because it's dangerous and might not warn otherwise.\n// This *must* be invalid.\nfunction c | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 283 | "code": "\n// Invalid because it's dangerous and might not warn otherwise.\n// This *must* be invalid.\nfunction u | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 292 | "code": "\n// Invalid because it's dangerous and might not warn otherwise.\n// This *must* be invalid.\nfunction c | CODE |
| LOW | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 310 | "code": "\n// Invalid because it's a common misunderstanding.\n// We *could* make it valid but the runtime error c | CODE |
| LOW | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 319 | "code": "\n// Invalid because it's a common misunderstanding.\n// We *could* make it valid but the runtime error c | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 346 | "code": "\n// Invalid because it's a common misunderstanding.\n// We *could* make it valid but the runtime error c | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 355 | "code": "\n// Invalid because it's a common misunderstanding.\n// We *could* make it valid but the runtime error c | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 364 | "code": "\n// Invalid because it's dangerous and might not warn otherwise.\n// This *must* be invalid.\nfunction C | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 373 | "code": "\n// Invalid because it's dangerous and might not warn otherwise.\n// This *must* be invalid.\nfunction C | CODE |
| LOW⚡ | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 382 | "code": "\n// Invalid because it's dangerous and might not warn otherwise.\n// This *must* be invalid.\nfunction C | CODE |
| LOW | …act-builtins/__upstream-fixtures__/rules-of-hooks.json | 421 | "code": "\n// Invalid because it's dangerous and might not warn otherwise.\n// This *must* be invalid.\nfunction n | CODE |
| LOW | …react-builtins/__fixtures__/rules-of-hooks.fixtures.ts | 395 | function ComponentWithHookInsideLoop() { | CODE |
| LOW | …__fixtures__/no-unstable-nested-components.fixtures.ts | 593 | function UnstableNestedFunctionComponent() { | CODE |
| LOW | …__fixtures__/no-unstable-nested-components.fixtures.ts | 608 | function UnstableNestedFunctionComponent() { | CODE |
| LOW | …__fixtures__/no-unstable-nested-components.fixtures.ts | 653 | function UnstableNestedFunctionComponent() { | CODE |
| LOW | …__fixtures__/no-unstable-nested-components.fixtures.ts | 668 | function UnstableNestedFunctionComponent() { | CODE |
| LOW | …__fixtures__/no-unstable-nested-components.fixtures.ts | 683 | function UnstableNestedFunctionComponent() { | CODE |
| LOW | …__fixtures__/no-unstable-nested-components.fixtures.ts | 698 | function UnstableNestedFunctionComponent() { | CODE |
| LOW | …__fixtures__/no-unstable-nested-components.fixtures.ts | 816 | function UnstableNestedFunctionComponent() { | CODE |
| LOW | …__fixtures__/no-unstable-nested-components.fixtures.ts | 833 | function UnstableNestedClassComponent() { | CODE |
| LOW | …__fixtures__/no-unstable-nested-components.fixtures.ts | 884 | function NestedUnstableFunctionComponent() { | CODE |
| LOW | …__fixtures__/no-unstable-nested-components.fixtures.ts | 903 | function NestedUnstableFunctionComponent() { | CODE |
| LOW | …n/rules/server/server-auth-actions.regressions.test.ts | 138 | export async function handleOAuthCallbackAction(input) { | CODE |
| LOW | …n/rules/server/server-auth-actions.regressions.test.ts | 151 | export async function verifyAuthCodePhoneAction(input) { | CODE |
| LOW | …n/rules/server/server-auth-actions.regressions.test.ts | 239 | export async function deleteAccountAfterSignupAction(input) { | CODE |
| LOW | …n/rules/server/server-auth-actions.regressions.test.ts | 245 | export async function syncProfileForRegistrationAction(input) { | CODE |
| LOW | …ts/no-derived-state-helper-handler.regressions.test.ts | 243 | function UnreachableDirectEventReference({ value }) { | CODE |
| LOW | …/state-and-effects/no-effect-chain.regressions.test.ts | 3204 | `function ImperativeControllerChain({ controller }) { | CODE |
| LOW | …/state-and-effects/no-effect-chain.regressions.test.ts | 3292 | `function ImperativeControllerChain({ activeId, controller }) { | CODE |
| LOW | …/state-and-effects/no-effect-chain.regressions.test.ts | 3308 | `function ImperativeControllerChain({ activeId }) { | CODE |
| LOW | …/state-and-effects/no-effect-chain.regressions.test.ts | 3341 | `function ImperativeControllerChain({ activeId, Map }) { | CODE |
| LOW | …/state-and-effects/no-effect-chain.regressions.test.ts | 3593 | `function ImperativeControllerChain() { | CODE |
| LOW | …/state-and-effects/no-effect-chain.regressions.test.ts | 3613 | `function ImperativeControllerChain({ controller }) { | CODE |
| LOW | …/no-reset-all-state-on-prop-change.regressions.test.ts | 1037 | `const InlineSourcePreviewContent = memo(function InlineSourcePreviewContent({ mediaId }) { | CODE |
| LOW | …/no-reset-all-state-on-prop-change.regressions.test.ts | 1063 | `const InlineCompositionPreviewContent = memo(function InlineCompositionPreviewContent({ compositionId }) { | CODE |
| LOW | …nd-effects/no-self-updating-effect.regressions.test.ts | 58 | `function usePreviewMediaResolution() { | CODE |
| LOW | …cts/prefer-use-sync-external-store.regressions.test.ts | 377 | export function BrowserBreakdownFilterProvider() { | CODE |
| LOW | …ts/rerender-state-only-in-handlers.regressions.test.ts | 100 | function AsyncPrefixLocationInvalidator() { | CODE |
| LOW | …ts/rerender-state-only-in-handlers.regressions.test.ts | 118 | function NestedSetterLocationMutation() { | CODE |
| LOW | …ts/rerender-state-only-in-handlers.regressions.test.ts | 135 | function BatchedNestedSetterLocationMutation() { | CODE |
| LOW | …ts/rerender-state-only-in-handlers.regressions.test.ts | 164 | function EffectLocationInvalidator() { | CODE |
| LOW | …ts/rerender-state-only-in-handlers.regressions.test.ts | 199 | function PostSuspensionLocationInvalidator() { | CODE |
| LOW | …ts/rerender-state-only-in-handlers.regressions.test.ts | 216 | function SequenceStoredInlineHandlerLocationInvalidator() { | CODE |
| LOW | …ts/rerender-state-only-in-handlers.regressions.test.ts | 235 | function NestedSequenceAggregateLocationInvalidator() { | CODE |
| LOW | …ts/rerender-state-only-in-handlers.regressions.test.ts | 279 | function UnprovenSequenceStoredInlineHandlerLocationInvalidator() { | CODE |
| 146 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/archive/deslop-cli/CHANGELOG.md | 35 | - [#1590](https://github.com/millionco/react-doctor/pull/1590) [`13138a4`](https://github.com/millionco/react-doctor/com | CODE |
| MEDIUM | docs/archive/deslop-js/CHANGELOG.md | 19 | - [#1590](https://github.com/millionco/react-doctor/pull/1590) [`13138a4`](https://github.com/millionco/react-doctor/com | CODE |
| MEDIUM | packages/oxlint-plugin-react-doctor/CHANGELOG.md | 326 | - [#1590](https://github.com/millionco/react-doctor/pull/1590) [`13138a4`](https://github.com/millionco/react-doctor/com | CODE |
| MEDIUM | …gin/rules/state-and-effects/no-effect-event-in-deps.ts | 28 | // They now share the same scaffold; the per-rule predicate (e.g. "is the | COMMENT |
| MEDIUM | packages/core/src/load-config.ts | 235 | // API consumers (watch-mode tools, test runners, agentic CLI flows) can | COMMENT |
| MEDIUM | packages/core/src/utils/is-large-minified-file.ts | 8 | // agentic CLI, repeated `diagnose()`) re-sniffs files that changed between | COMMENT |
| MEDIUM | packages/core/src/utils/classify-package-role.ts | 111 | // agentic CLI, repeated `diagnose()`) re-reads manifests that changed between | COMMENT |
| MEDIUM | packages/react-doctor/CHANGELOG.md | 328 | - [#1590](https://github.com/millionco/react-doctor/pull/1590) [`13138a4`](https://github.com/millionco/react-doctor/com | CODE |
| MEDIUM | packages/react-doctor/CHANGELOG.md | 3136 | - [`f50426b`](https://github.com/millionco/react-doctor/commit/f50426b) - Initial publish - empty package scaffold to cl | CODE |
| MEDIUM | packages/react-doctor/tests/manage-ci.test.ts | 200 | // modification the (install-scaffold) PR does not contain. | COMMENT |
| MEDIUM | …ckages/react-doctor/tests/install-react-doctor.test.ts | 724 | // Advisory scaffold: the React Doctor step's gate stays commented (`# with:`), | COMMENT |
| MEDIUM | packages/react-doctor/src/index.ts | 84 | // agentic CLI flows) call diagnose() repeatedly on the same directory. | COMMENT |
| MEDIUM | packages/react-doctor/src/cli/utils/ci/manage-ci.ts | 163 | // The plain-language recap printed after a scaffold or edit, so a user knows | COMMENT |
| MEDIUM | packages/react-doctor/src/cli/utils/ci/manage-ci.ts | 439 | // be the initial setup scaffold OR a previous run of this upgrade — | COMMENT |
| MEDIUM | …act-doctor/src/cli/utils/ci/github-actions-provider.ts | 242 | // Two paths: a pristine scaffold is rebuilt from the template (the cleanest | COMMENT |
| MEDIUM | …es/react-doctor/src/cli/utils/ci/gitlab-ci-provider.ts | 45 | // Doctor comment or commit-status reporter yet, so the scaffold is gate-only: | COMMENT |
| MEDIUM | packages/react-doctor/src/cli/utils/ci/ci-provider.ts | 3 | // One CI backend React Doctor can scaffold and manage. GitHub Actions is the | COMMENT |
| MEDIUM | packages/react-doctor/src/cli/utils/ci/ci-provider.ts | 4 | // fully supported provider; GitLab CI is a gate-only scaffold (no PR-opening, | COMMENT |
| MEDIUM | packages/react-doctor/src/cli/utils/ci/ci-provider.ts | 29 | // The advisory default every fresh scaffold starts from: report on every pull | COMMENT |
| MEDIUM | packages/eslint-plugin-react-doctor/CHANGELOG.md | 229 | - [#1590](https://github.com/millionco/react-doctor/pull/1590) [`13138a4`](https://github.com/millionco/react-doctor/com | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …/rules/r3f/three-prefer-gpu-position-animation.test.ts | 52 | particles.geometry.attributes.position.array.fill(0); | CODE |
| CRITICAL | …threejs-v14-audit/regressions/5108f2200a21--hud.ts.txt | 407 | this.sides.ice.box.classList.toggle("active", id === "ice"); | CODE |
| CRITICAL | …threejs-v14-audit/regressions/5108f2200a21--hud.ts.txt | 408 | this.sides.ember.box.classList.toggle("active", id === "ember"); | CODE |
| CRITICAL | …hreejs-v14-audit/regressions/cc439a4d3a00--game.ts.txt | 209 | world.lights.sky.shadow.mapSize.set(1024, 1024); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …c/plugin/rules/js-performance/js-combine-iterations.ts | 124 | // contains "TSTypePredicate" — robust against AST shape variance. | COMMENT |
| MEDIUM | …ce/js-cache-storage.harness-parity.regressions.test.ts | 11 | // PR #994 fp-review: the harness previously dispatched only enter visitors | COMMENT |
| MEDIUM | …src/plugin/rules/architecture/no-legacy-context-api.ts | 16 | // is high-leverage. We catch the static class-property forms AND the | COMMENT |
| MEDIUM | …rity-scan/plugin-update-trust-risk.regressions.test.ts | 89 | content: `FROM oven/bun:1.3.14-debian\n\n# tmux is required by the agent harness.\nRUN apt-get update && apt-get i | CODE |
| MEDIUM | packages/core/src/constants.ts | 871 | // the underlying engine is robust. The wildcard cap intentionally | COMMENT |
| MEDIUM | …ges/react-doctor/src/cli/utils/install-react-doctor.ts | 543 | // highest-leverage setup step, so it's asked first using the same shared pitch | COMMENT |
| MEDIUM | packages/react-doctor/src/cli/utils/launch-agent.ts | 16 | // is more robust and cross-platform than scripting a specific terminal | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …-react-doctor/src/plugin/liveness/liveness-fixtures.ts | 986 | code: 'const El = () => <p style={{ textAlign: "justify" }}>Lorem ipsum</p>;', | CODE |
| LOW | …eact-doctor/src/plugin/constants/dom-property-names.ts | 69 | "placeholder", | CODE |
| LOW | …act-doctor/src/plugin/constants/dom-aria-properties.ts | 39 | "placeholder", | CODE |
| LOW | …t-plugin-react-doctor/src/plugin/constants/security.ts | 355 | "placeholder", | CODE |
| LOW | …lugin/rules/design/no-placeholder-persona-copy.test.ts | 17 | `const Form = () => <main><label>Name<input placeholder="Jane Doe" /></label></main>;`, | CODE |
| LOW | …r/src/plugin/rules/design/no-mixed-animation-owners.ts | 227 | "placeholder", | CODE |
| LOW | …/src/plugin/rules/react-builtins/jsx-no-jsx-as-prop.ts | 75 | "placeholder", | CODE |
| LOW | …/src/plugin/rules/js-performance/js-set-map-lookups.ts | 70 | "placeholder", | CODE |
| LOW | …/state-and-effects/no-effect-chain.regressions.test.ts | 4916 | "placeholder", | CODE |
| LOW | …/state-and-effects/no-effect-chain.regressions.test.ts | 4917 | 'performWork("x", "y"); performWork("placeholder");', | CODE |
| LOW | …ngerous-html-sink.katex-provenance.regressions.test.ts | 477 | __html: katex.renderToString(value).replace("placeholder", rawHtml), | CODE |
| LOW | …tor/src/plugin/rules/a11y/no-placeholder-only-field.ts | 268 | "placeholder", | CODE |
| LOW | …/src/plugin/rules/a11y/control-has-associated-label.ts | 970 | hasNonEmptyPropValue(hasJsxPropIgnoreCase(opening.attributes, "placeholder")) | CODE |
| LOW | …gin/rules/a11y/no-responsive-hidden-accessible-name.ts | 81 | "placeholder", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | skills/improve-threejs/SKILL.md | 14 | ### Step 1: Recon | COMMENT |
| LOW⚡ | skills/improve-threejs/SKILL.md | 20 | ### Step 2: Scan | COMMENT |
| LOW⚡ | skills/improve-threejs/SKILL.md | 30 | ### Step 3: Triage by frame-loop leverage | COMMENT |
| LOW | skills/improve-threejs/SKILL.md | 50 | ### Step 4: Visual audit | COMMENT |
| LOW | skills/improve-threejs/SKILL.md | 79 | ### Step 5: Fix | COMMENT |
| LOW | skills/improve-threejs/SKILL.md | 89 | ### Step 6: Validate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/smoke-tty-prompt.py | 152 | handle.write("export const Component = () => null;\n") | CODE |
| HIGH | scripts/smoke-tty-prompt.py | 194 | f'mkdir "{delay_marker_path}" 2>/dev/null; then\n' | CODE |