Skip to content
/ D-D5E Public

D&D 5E - a long abandoned react project, where I decided to try playing with classes and learning more about unit tests

Notifications You must be signed in to change notification settings

thethp/D-D5E

Repository files navigation

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

About

D&D 5E - a long abandoned react project, where I decided to try playing with classes and learning more about unit tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published