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:
parent
d15ef53384
commit
16d30d45dc
13
lint-all.sh
Executable file
13
lint-all.sh
Executable 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!"
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user