fix
Installation
SKILL.md
Fix Lint and Formatting
Instructions
- Run
yarn prettierto fix formatting - Run
yarn lincto check for remaining lint issues - Report any remaining manual fixes needed
Common Mistakes
- Running prettier on wrong files -
yarn prettieronly formats changed files - Ignoring linc errors - These will fail CI, fix them before committing
Related skills
More from facebook/react
extract-errors
Use when adding new error messages to React, or seeing "unknown error code" warnings.
971verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
899test
Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.
897feature-flags
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
863flow
Use when you need to run Flow type checking, or when seeing Flow type errors in React code.
838flags
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
795