~/talk

Code Style and Violence

TalkinRussianat JavaScript fwdays'18 · on Sunday, 2018-03-18· [developer-experience]

Shows how concrete style rules and automation reduced a JavaScript repo from ~23,000 lint errors to ~3,000 using editorconfig, eslint with the Babel parser, Prettier, and stylelint; explains enforcement via husky + lint-staged hooks, protected branches and CI to block bad merges, and a custom npm commit-msg validator for Windows compatibility; reports that these measures cut frequent regressions to almost none over six months.

AI-written summary · about

  1. 0:00Code style intro
  2. 3:20Popular code styles
  3. 6:18Setting up linters
  4. 9:07Git hooks for style
  5. 13:04CSS and React linters
  6. 15:55Fixing --no-verify issues
  7. 16:58Git Flow workflow
  8. 18:26Cross-platform hooks
  9. 21:46Branch protection with GitHub
  10. 24:20Code style results
  11. 25:28Linting error levels
  12. 27:30Common linting mistakes
  13. 28:53Branch protection rules
  14. 29:38Checks in CI pipeline
  15. 30:42Conclusion & Q&A
~/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.