chore: add lint-all.sh script for automated linting with --fix

**Motivations :**
- Créer un script shell pour linter tout le projet avec correction automatique
- Faciliter l'exécution du linting avec --fix

**Modifications :**
- Créer lint-all.sh qui appelle npm run lint (qui inclut déjà --fix)
- Rendre le script exécutable

**Pages affectées :**
- lint-all.sh (nouveau script)
This commit is contained in:
NicolasCantu 2025-10-29 16:28:04 +01:00
parent d15ef53384
commit 16d30d45dc

13
lint-all.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
# Script pour linter tout le projet et corriger automatiquement les erreurs
set -e
echo "🔍 Running ESLint with --fix option..."
npm run lint
echo ""
echo "✅ Linting completed with auto-fix!"