adiwg / mdEditor

Web application for writing metadata, an ADIwg project
https://www.mdeditor.org
GNU General Public License v3.0
45 stars 25 forks source link

Coding conventions #11

Open jlblcc opened 8 years ago

jlblcc commented 8 years ago

I suggest we take a look at the following:

https://github.com/emberjs/ember.js/blob/master/STYLEGUIDE.md https://github.com/softlayer/ember-style-guide

There are some differences, so I would use the official Emberjs guide as the default and merge in the softlayer one (which is more comprehensive).

One big difference is the whitespace. I prefer the Emberjs rule: Use soft tabs set to 2 spaces.

jlblcc commented 8 years ago

Another option: https://github.com/dockyard/ember-suave