开发与测试
fix
Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
react · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add react/react --skill fix技能说明
name: fix description: Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.
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