TypeScript Static Analysis Hidden Gems
summary
Shows concrete tools and configurations that find real problems: use typescript-eslint recommended type-check rules to catch mistakes like awaiting non-promises and to auto-suggest turning onclick into an async or removing a useless await that can eliminate a third of a file, set eslint to --max-warnings=0 and VSCode's source.fixAll to enforce fixes, stop using eslint for formatting and use Prettier or deprint instead, run knip to detect unused exports and even a 300MB unused dependency, and scaffold all of this with create-typescript-app.
AI-written summary · about
chapters (8)
- 0:00Introduction to static analysis
- 1:25ESLint basics and setup
- 7:42Stop using ESLint for formatting
- 10:11TypeScript and ESLint integration
- 15:28Finding unused code with TypeScript
- 17:10Knip for unused dependencies
- 19:37Create TypeScript App overview
- 22:42Recap and closing remarks








