W020
React hook imports and unbound standard hook names; imported custom useX() calls in components and local wrappers with resolved hook calls in their bodies; dependency arrays on core watch, derived, or memo. Local names and parameters alone do not establish a hook.
Fix: Use state and .value, watch(source, callback) with onCleanup, derived and .value, ref={el}, or plain functions. Core memo returns a callable: read value(). Reads track dependencies. Only an empty dependency array on derived or memo has a safe autofix.
Status in kerf@0.1.0: reported.
Triggers it:
tsx
import { useState } from 'react'export function A() { const [n] = useState(0); return <p>{n}</p> }