ccowmu / whatistheplan.com

Reimagined Parkview LAN Party site
MIT License
5 stars 5 forks source link

Style Guide #31

Open rhinoceraptor opened 9 years ago

rhinoceraptor commented 9 years ago

We should have a style guide, covering:

klobucar commented 9 years ago

I recommend this for JS: https://github.com/airbnb/javascript and use something like jslint with rules.

Python I recommend using this as the basis of yours. http://google-styleguide.googlecode.com/svn/trunk/pyguide.html

HTML /CSS is quite a bit easier for css either decide on the - or _ as a separator. class and id naming can be the same no matter what. in css a class is a . and an id is # so there isn't really any ambiguity to begin with.

klobucar commented 9 years ago

Also, where you can use tools to lint and take care of style with jsfmt and pylint