
devtools.fm: Developer Tools, Open Source, Software Development Nicholas C. Zakas - ESLint
Aug 4, 2024
Nicholas Zakas, a leading figure in the JavaScript community and creator of ESLint, dives into the fascinating world of code quality. He shares the origin story of ESLint, describing how it emerged from the challenges of legacy browsers. The discussion covers the evolution of linting tools, the new flat configuration in ESLint 9, and its expansion to support multiple languages. Zakas also addresses personal health challenges while emphasizing community involvement in shaping the future of ESLint.
AI Snips
Chapters
Transcript
Episode notes
How ESLint Was Born From A Real Bug
- Nicholas Zakas built ESLint after a Box bug where a developer used native XMLHttpRequest causing IE7 failures.
- He created an AST-based rule system to reliably detect problematic code instead of fragile regex checks.
Customizability Beats Raw Speed
- Customizability and a plugin ecosystem made ESLint popular despite not being the fastest linter.
- Users preferred being able to extend behavior themselves rather than waiting on a core team.
Use Prettier To Remove Style Noise
- Offload purely stylistic formatting to tools like Prettier to reduce ESLint noise and config bloat.
- Use ESLint for correctness and bug-catching rules, not fine-grained style wars.
