no-frontend-comments
Express frontend behavior through code instead of prose comments.
Why
Frontend comments can drift from executable behavior and conceal names, types or structure that should communicate the same information.
Fix
Use clear names, types, helpers and assertions, then remove the comment. Move tool settings into their owning configuration where supported. Whitespace-only single-line comments can be replaced with a space; review all other comments and their contracts manually.
Examples
export function identity(value: number) { return /**/ value;}export function identity(value: number) { return value;}Autofix output
export function identity(value: number) { return value;}// Show current statusexport const View = () => <p>Ready</p>;export const View = () => <p>Ready</p>;{ "private": true, "dependencies": { "react": "19.2.0" } }// Frontend helperexport const ready = true;{ "private": true, "dependencies": { "react": "19.2.0" } }export const ready = true;