~/talk

Road to Zero Lint Failures: Tackling Code Quality Challenges at Scale

Talkat Conf42 JavaScript 2023 · on Thursday, 2023-11-16· [developer-experience, testing]
name:Chris Ng
linkedin:chrisrng
slides:none on file

Claim: lint failures drop from a ~7,000 peak to near zero by combining policy, tooling and people. Built a lint failure visualizer, a nightly checkup cron job that converts ESLint output to SARIF and a weekly scorecard email; enforced single owner per file, a lint proposal process and a volunteer task force. Result: ~6,000 failures removed over ~13 months with 55 engineers, 80 rule/dependency changes and 45 contributors; first 80% clears quickly, the last 20% requires hands-on effort and active incentives.

AI-written summary · about

  1. 0:00intro
  2. 0:22preamble
  3. 0:33overview
  4. 0:52why lint rules?
  5. 2:01automated
  6. 3:24prettier
  7. 3:42benefits
  8. 4:35example: no-unsafe-optional-chaining
  9. 6:47expand the "well lit path"
  10. 7:05let's add all the lint rules!
  11. 7:17code quality at scale
  12. 9:02problem
  13. 9:34campsite analogy
  14. 10:08how to limit even more lint failures
  15. 12:11campsite analogy (revisited)
  16. 13:08how to limit even more lint failures (revisited)
  17. 14:44lint rule process: all existing failutres must be resolved
  18. 16:41how to fix it: road to zero lint failures
  19. 16:57incentives, incentives, incentives!
  20. 17:26road to zero lint failures
  21. 17:56how we ran it
  22. 19:10tooling for engineers
  23. 19:41single owner per file
  24. 20:10lint failure visualizer
  25. 21:30checkup
  26. 22:43collect data from sarif and match by team
  27. 23:38weekly scorecard
  28. 25:47dealing with the last mile
  29. 26:38road to zero journey
  30. 27:20sustainability is key
  31. 28:20summary
  32. 30:45key results and next steps
  33. 31:40road to zero lint failures stats
  34. 33:09thank you
~/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.