---
name: fix
description: Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
title: fix
canonical_url: https://skilld.dev/gh/facebook/react/fix
last_updated: 2026-09-09T23:56:56.000Z
---

> **Skill from skilld.dev.** Follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld@beta install skilld:facebook/react/fix`. Install writes the Skill files into the project, so every session loads them.

# Fix Lint and Formatting

## Instructions

1. Run `yarn prettier` to fix formatting
2. Run `yarn linc` to check for remaining lint issues
3. Report any remaining manual fixes needed

## Common Mistakes

- **Running prettier on wrong files** - `yarn prettier` only formats changed files
- **Ignoring linc errors** - These will fail CI, fix them before committing
