~/talk

Getting Started with JavaScript Linter | What Is Linter?

Talkat TestFlix 2023 · 2023-09-23..09-24· [javascript, developer-experience]
slides:none on file

Explains how to add and configure ESLint (npm install eslint as a devDependency), how it tokenizes code into abstract syntax tree tokens, and how rules detect syntax, style, security and performance problems so fewer bugs and flaky Playwright tests reach CI. Shows using an ESLint plugin for Playwright to flag hardcoded waits, using pre-commit hooks or “on save” to reduce distractions, and writing a custom rule (example: enforce camelCase) published to npm or a private registry. Warns that adding linting to mature code needs significant refactoring and good test coverage.

AI-written summary · about

  1. 0:00Introduction to linters
  2. 0:49How linters work
  3. 2:57Configuring linter behavior
  4. 4:45Setting up ESLint
  5. 6:09Enforcing rules across projects
  6. 8:18Understanding AST in linters
  7. 12:21Resources and tips
~/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.