Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.21 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.21 KB

Just like USA: Characters Welcome Build Status

Code Climate Issue Count

  • npm i
  • npm i -g gulp
  • gulp

#Principles, as they come up

  • always use foo.get just for consistency, even if we're inside- use that over this.attributes.bar
  • returns and functions should always be a blank line before them
  • variables are always at the very top of their container
  • no blank lines in single line functions
  • blank lines after variable declarations
  • blank lines before imports that are truly just for that page
  • only have blank lines in 'it' unit tests if there are variable declarations or event work before should statements [see setup.spec.js for example]
  • tabs not spaces [display them as whatever size you want in your editor of choice]
  • ' = '
  • ' />'
  • if react component has more than one attribute, multiline them
  • opening bracket always on the same line
  • we love '', we hate ""
  • cost is always in CP