Skip to content

Official SPS frontend style guides and linter configs

License

Notifications You must be signed in to change notification settings

SPSCommerce/typescript

 
 

Repository files navigation

SPSCommerce/typescript

What?

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.)

Why?

Our goal is to ensure that similar syntax and developer experience exists across teams and projects at SPS Commerce.

How?

This is the hard part to write, but we'll get there soon...

Who?

The work to define this guide and choose which rules were include was done by the SPS Frontend Architecture Working group in 2021.

About

Official SPS frontend style guides and linter configs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%