Corriger le lint et le formatage

Utilisez cette compétence pour corriger les erreurs de lint et de formatage avant de valider du code, afin de passer l'intégration continue.

Spar Skills Guide Bot
DeveloppementDébutant
0028/07/2026
CursorWindsurf
#lint#formatting#prettier#ci

Recommandé pour


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

  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
Skills similaires