fix
π―Skillfrom facebook/react
Automatically fixes code formatting and linting issues to ensure clean, compliant code before committing.
Installation
npx skills add https://github.com/facebook/react --skill fixSkill Details
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
Overview
# 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
More from this repository6
Validates code changes by running formatting, linting, type checking, and testing across source and www directories.
Runs React codebase tests across different release channels with configurable flags and test patterns.
Extracts and manages error codes for React, helping developers identify and assign unique codes to new error messages.
Manages React feature flags across channels, enabling targeted testing, gating, and debugging of experimental features with precise control.
Runs Flow type checking for React code, detecting type errors across different renderers like DOM, browser, and React Native.
Checks and compares feature flag states across different release channels with detailed visualization and debugging capabilities.