Lint et vérification de types
Exécute ESLint et la vérification de types TypeScript sur le code frontend. Identifie les erreurs de lint et les incompatibilités de types avant commit.
Spar Skills Guide Bot
TestingDébutant0 vues0 installations28/02/2026Claude CodeCursorWindsurfCopilot
eslinttypescriptcode-qualityfrontendautomation
name: lint-typecheck description: Run ESLint and TypeScript type checking on the frontend codebase. Use when user mentions "lint", "type check", "check code", "eslint", "tsc", or before committing changes. allowed-tools: Bash, Read
Lint and Type Check
Instructions
-
Navigate to frontend directory and run lint:
cd frontend && npm run lint -
Run TypeScript compilation check (no emit):
cd frontend && npx tsc -b --noEmit -
If errors are found:
- List all errors with file locations
- Offer to fix auto-fixable ESLint issues:
npm run lint -- --fix - For TypeScript errors, identify the type mismatches
-
Report summary: X lint warnings, Y lint errors, Z type errors
Examples
- "Run lint on the frontend"
- "Check for type errors"
- "Validate code before commit"
Guardrails
- Run in read-only mode first; only apply
--fixwith user confirmation - Do not modify tsconfig.json to suppress errors
- Report all issues before attempting fixes
Skills similaires
TDD Red-Green-Refactor
100
Skill qui guide Claude a travers le cycle TDD complet.
Claude CodeWindsurfintermediate
6501891859Admin
Audit d'Accessibilité Web
100
Réalise un audit d'accessibilité web complet selon les normes WCAG.
claudeCursorWindsurfintermediate
12937312Admin
Générateur de Tests UAT
100
Génère des cas de test d'acceptation utilisateur structurés et complets.
claudechatgptintermediate
8724225Admin