Developer Documentation
Conventions
Conventions
  • File and Folder Structure
  • Logging
  • Code Quality
  • Security
  • Code Style
  • Tools and Platforms
Powered by GitBook
On this page

Was this helpful?

Code Style

We'll be using Prettier to format our code styles accordingly. Prettier will have rules applied to itself that should be configured in your code editor to be run on save.

PreviousSecurityNextTools and Platforms

Last updated 1 year ago

Was this helpful?

Introduction

We're going to be using the tool to format all of the styles that will be used in our project for our code.

This means we want you to setup prettier in your code editor and follow the rules we have set for the Next.js project.

Following the rules should be as simple as saving a file, because prettier can fix these issues when saving a file.

Please ensure all of your code is formatted accordingly before making a commit.

Prettier