~/lightning

A Prettier Printer

Lightningat React Conf 2017 · on Tuesday, 2017-03-14· [javascript, developer-experience]
slides:none on file

Prettier is a formatter that parses code to an AST then pretty-prints AST, ignores original whitespace, and enforces a single layout rule set. It supports JavaScript, JSX and Flow types, and incoming TypeScript work, rewraps expressions by editor width and wraps attributes by width to respect max line length. Adoption includes Create React App, React Native Web, Immutable JS, Babel and React PRs, and it claims real savings from 30,597 nits -> $500k wasted time.

AI-written summary · about

  1. 0:00Start
  2. 4:373 Things
  3. 5:04Teachability
  4. 5:50Freedom
  5. 8:04REACTCONF17
~/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.