Skip to content

Code Conventions

skyheat edited this page Jun 27, 2022 · 2 revisions

Linting

  • Be sure to enable {format on save} on VS Code.

Naming Conventions

  • All filenames should be lowercase
    • index.tsx
  • Folder names should be uppercase for components
    • Component
  • All variable names should use Camel Case when appropriate
    • variableName

Folder conventions

  • All components should be within a folder
  • The main file within components should be index.tsx

Documentation

  • Code should be documented
Clone this wiki locally