~/talk

Enforcing coding standards in a JS library

Talkat JSConf Budapest 2015 · 2015-05-14..05-15· [developer-experience, javascript]
slides:none on file

Argues that enforcing standards increases focus and creativity and shows exactly how: a Spotify JS ad library uses editorconfig, eslint (with babel-eslint) and jscs for style/quality, gulp/babel to transpile ES6 into published ES5, mocha/karma/selenium for tests, plato to generate per-commit complexity reports, and a Jenkins pipeline plus conventional-changelog to automate releases to a private npm registry. Core team of six spends ~20% time on hack days; setup scripts and git hooks make the flow reproducible.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Key words
  3. 3:55Tools Principles
  4. 5:11Editor Config
  5. 6:44Coding Style Tools
  6. 15:36Git Commit Standards
  7. 17:24Build Tools
  8. 18:29ES6 Build
  9. 20:30Testing
  10. 22:08Jenkins Pipeline
  11. 24:13Documentation
  12. 25:05Docs
  13. 27:21Questions
~/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.