~/talk

Static Analysis: Don't Fear the Linter!

Talkat SeattleJS Conf 2023 · on Tuesday, 2023-08-08· [typescript, developer-experience]
slides:none on file

Advocates using three separate tools: a formatter (Prettier), a linter (ESLint), and a type checker (TypeScript). Recommends prettier as default formatter with format-on-save, run eslint with --fix and --max-warnings=0 in CI, and avoid using ESLint rules for formatting. Enable TypeScript strict flags (strict, noImplicitAny) and configure VS Code to use node_modules/typescript. Turn on type-checked ESLint rules by setting parserOptions.project: true so rules can use the type checker to auto-fix things like unnecessary awaits.

AI-written summary · about

  1. 0:00Intro
  2. 2:15What is Static Analysis
  3. 5:33What is a Linter
  4. 9:33Linter vs Formatter
  5. 11:24TypeScript
  6. 16:36TypeScript eslin
  7. 18:40TypeScript linting
  8. 21:21Next steps
  9. 22:16Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.