no-restated-jsdoc
Flag JSDoc prose that appears to repeat declaration names without adding behavioral information.
Why
Signature-only JSDoc duplicates type information and drifts without helping callers.
Fix
Delete the block or document behavior, constraints, failures, or context the signature cannot express.
Examples
/** Get the user by id. */export function getUserById(id: string) { return id;}/** Get the user while bypassing the read replica. */export function getUser(id: string) { return id;}/** Cache the user. */export function cacheUser(user: unknown) { return user;}/** Does not cache the user. */export function cacheUser(user: unknown) { return user;}Formerly: jsdoc-restates-signature