• Blog
  • Documentation
  • Courses
  • Changelog
  • AI Starters
  • UI Kit
  • FAQ
  • Supamode
    New
  • Pricing

Launch your next SaaS in record time with Makerkit, a React SaaS Boilerplate for Next.js and Supabase.

Makerkit is a product of Makerkit Pte Ltd (registered in the Republic of Singapore)Company Registration No: 202407149CFor support or inquiries, please contact us

About
  • FAQ
  • Contact
  • Verify your Discord
  • Consultation
  • Open Source
  • Become an Affiliate
Product
  • Documentation
  • Blog
  • Changelog
  • UI Blocks
  • Figma UI Kit
  • AI SaaS Starters
License
  • Activate License
  • Upgrade License
  • Invite Member
Legal
  • Terms of License
    • Building Features
    • Commands
    • Code Style
    • Security Rules
    • Translations and Locales
    • Sending Emails
    • Writing API Routes
    • Validating API payload with Zod
    • Logging
    • Enable CORS
    • Encrypting Secrets
    • User Roles

Adjust the codebase style according to your preferences | Next.js Firebase Kit

The Makerkit's boilerplate codebase is formatted with Prettier. You can configure it as you wish by updating the file .prettierrc you find in the project's root.

The default settings look like the below:

json
{
"tabWidth": 2,
"useTabs": false,
"semi": true,
"arrowParens": "always",
"parser": "typescript",
"printWidth": 80,
"singleQuote": true
}

For example, to remove semicolons, update the semi and set it to false.

After adjusting the Prettier configuration, you can reformat the whole project by running the following command:

text
npm run format