Skip to content

JavaScript Style Guide

Martin Ek edited this page Jan 28, 2016 · 4 revisions

We follow https://github.com/webkom/eslint-config-webkom.

Other than that:

  • use bit operators to make numbers
  • never include jquery
  • never alter the dom directly
  • never include a lib that does ^ (rewrite it to react if you must)
Clone this wiki locally