For almost all of our code style rules, refer to the Airbnb JavaScript Style Guide.
When writing ES6 or React code, please also refer to the Airbnb React/JSX Style Guide.
We use Prettier to automatically style our code.
- You can run Prettier to fix the style on all files with
npm run prettier
- You can run Prettier in watch mode to fix the styles when they are saved with
npm run prettier-watch