Fix

Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.

mahabdalla Updated

File contents

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

Converted and distributed by TomeVault | Claim this content

mahabdalla/skills-registry/tree/main/facebook--react--fix commit 2affb9c0b8

Frequently asked questions

npx skillmds@latest add mahabdalla/fix