Files
Gabriel Miranda 551412c8a2 feat(docs): Improved contributing guide (#1342)
Co-authored-by: Chris Pennington <cpenn368@gmail.com>
Co-authored-by: cpenned <66193019+cpenned@users.noreply.github.com>
2025-02-20 10:27:46 -03:00

24 lines
806 B
Plaintext

---
title: 'Linting'
sidebarTitle: '3. Linting'
'og:image': 'https://react.email/static/covers/react-email.png'
description: 'Everything you need to know about linting and formatting'
---
We use [biomejs](https://biomejs.dev/) for linting and formatting. Both linting and formatting are ensured by our GitHub CI, so before opening a PR or asking for a review, please lint and format your code.
## Check for linting issues
To check if there are any linting issues, run `pnpm lint` on the root of the workspace.
```bash
pnpm lint
```
To lint or format the entire project, run `pnpm lint:fix` on the root of the workspace.
```bash
pnpm lint:fix
```
Both the linting and formatting are ensured by our GitHub CI so make sure you lint and format your code before opening a PR or asking for a review on it.