~/talk

The Joy of Linters: Good Engineering Practices & Productivity Boosters

Talkat GopherCon UK 2022 · 2022-08-16..08-18· [testing, developer-experience]
links:none on file
slides:none on file

Practical recipe for getting linters from theory into habit: use golangci-lint with a checked-in .golangci.yml, run linting in CI and on git diffs so only changed files fail, roll out in a three-phase rollout (default → local opt-in → full enforcement with a two-week trial), write tiny custom checks using go/ast + go/parser + go/analysis (example: ban time.Sleep), use automated fixes, and enforce formatting rules (gofumpt/gofmt, whitespace rules and a 120‑char line policy) across 77 microservices.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Why wont you get a linter
  3. 1:31What is a linter
  4. 4:56How to group your linters
  5. 5:29Quality vs readability
  6. 6:20Maximum pain theory
  7. 8:43New code base
  8. 10:51Preexisting code base
  9. 12:13The pain theory
  10. 13:55The hard bid
  11. 15:03The team
  12. 15:50Choosing a linter
  13. 16:59Intercustom linters
  14. 18:43Noslip Linser
  15. 19:25Custom Linser
  16. 20:07Lemon squeezy
  17. 20:49Summary
  18. 22:20Light stuff
  19. 23:29Max bits
  20. 24:54Python
  21. 27:17FormFree
~/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.