Our JavaScript Style Guide

AirbnbEng
The Airbnb Tech Blog
1 min readNov 5, 2012

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.

--

--

AirbnbEng
The Airbnb Tech Blog

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