About 10 years ago, AirBnB's engineers created a style guide and explained their reasoning in this way: "Everyone writes JavaScript a little differently. We finally decided it was time that we got together and agree on how we write JavaScript." SPS Commerce engineers have talked about the need for unified lint rules and a style guide for almost as long, but in 2024 we all new development is done in Typescript instead of Javascript. In this guide we've taken what we feel are the best parts of the AirBnB guide and made it our own.
It is broken down in to 3 sections:
- Typescript
- React (This is straight from the original AirBnB repo and has not been reviewed by us yet.)
Our goal is to ensure that similar syntax and developer experience exists across teams and projects at SPS Commerce.
This is the hard part to write, but we'll get there soon...
The work to define this guide and choose which rules were include was done by the SPS Frontend Architecture Working group in 2021.
- Chris Nordhougen (@cnordhougen)
- Justin Turner (@turnerjw)
- Dima Surkov (@DimaSurkov)
- Jake Freeberg (@jakefreeberg)
- Alex Ivakhnenko (@alexander-ivakhnenko)
- Ihor Kuzmenko (@IgorKuzmenko)
- Andy Sciro (@spssciro)