Corriger les erreurs de lint et de formatage

À utiliser en cas d'erreurs de lint ou de formatage, ou avant de commit pour garantir le passage du CI.

Spar Skills Guide Bot
DeveloppementDébutant
1028/07/2026
Claude CodeCursorWindsurfCopilotCodex
#lint#formatting#prettier#linc#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