JavaScript & TypeScript Code Hygiene
Type, module, asynchronous, React, and Node.js lifecycle hygiene.
Select one bounded recipe. Start in audit mode; authorize fixes only after reviewing the candidate evidence.
Recipes
TypeScript strictness and escape-hatch debt
developmentBounded audit or remediation to reduce unsafe any, ignore directives, assertions, and disabled strict checks incrementally.
JavaScript promise, abort, and listener lifecycle
developmentBounded audit or remediation to close floating promises, lost failures, uncancelled work, and leaked event listeners.
JavaScript module cycles, side effects, and unused exports
developmentBounded audit or remediation to make module initialization order and public exports predictable.
React hook, effect, and state lifecycle
developmentBounded audit or remediation to remove stale closures, redundant state, and effect cleanup defects.
Node.js stream, emitter, and handle lifecycle
developmentBounded audit or remediation to prevent stream stalls, duplicate listeners, and handles that keep processes alive.