Our JavaScript Style Guide

By Harrison Shoff

Check it out on Github: https://github.com/airbnb/javascript

Everyone writes JavaScript a little differently. We finally decided it was time that we got together and agree on how we write JavaScript.

We describe it as a mostly reasonable approach to JavaScript.

We’re releasing it under the MIT license, so please feel free to fork and use at your will. We don’t expect everyone to agree with the way we do things, but we do hope this can help kick start your own style guide as a template or map of some sort.

Hope it helps!

Check out all of our open source projects over at airbnb.io and follow us on Twitter: @AirbnbEng + @AirbnbData

Originally published at nerds.airbnb.com on November 5, 2012.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
AirbnbEng

AirbnbEng

61K Followers

Creative engineers and data scientists building a world where you can belong anywhere. http://airbnb.io