~/talk

Lint Your Code Into the Future

Talkat EmberConf 2022 · on Tuesday, 2022-04-19· [testing, developer-experience]
github:masoncl
slides:none on file

A concrete process reduces upgrade pain: write specific lint rules (example: ban a Tailwind flex class on a ui-button), use AST Explorer to locate patterns, and run ember-template-lint and eslint plugins in CI. A surprising outcome is finding thousands of failures at once, so lint-to-the-future auto-inserts file-based ignores and produces a static dashboard (plus a GitHub Action) that graphs progress over time without a database, enabling gradual, trackable fixes rather than an all-or-nothing rollout.

AI-written summary · about

  1. 0:00Start
  2. 0:48A Process
  3. 1:49You, a Developer
  4. 2:36Code Reviews
  5. 3:40The Rules Document
  6. 4:30Step 2
  7. 5:27The Masked Lint
  8. 6:26Nothing new
  9. 7:29Real world example
  10. 8:25What is a lint rule anyway?
  11. 8:58Eint rules in 30 seconds
  12. 11:36AST Explorer
  13. 13:30Custom Rule
  14. 19:39All the warnings
  15. 20:45File based ignore
  16. 21:53Install Lint to the Future
  17. 22:33Back to the Errors
  18. 23:22The Dashboard
  19. 25:11Output
  20. 26:05Yesterday's News
  21. 27:35Dashboard demo
~/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.