fix
von facebook
Automatisierte Code-Formatierung und Linting zur Behebung von Stilproblemen vor CI-Prüfungen. Führt Prettier für Code-Formatierung und Linc für Lint-Validierung sequenziell aus. Identifiziert verbleibende manuelle Korrekturen nach automatischen Anpassungen. Verhindert CI-Fehler, indem Formatierungs- und Lint-Fehler vor dem Commit erkannt werden.
npx skills add https://github.com/facebook/react --skill fixFix 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