From 16d30d45dc8a2321fb36d79a74a5186894faeabd Mon Sep 17 00:00:00 2001 From: NicolasCantu Date: Wed, 29 Oct 2025 16:28:04 +0100 Subject: [PATCH] chore: add lint-all.sh script for automated linting with --fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **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) --- lint-all.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 lint-all.sh diff --git a/lint-all.sh b/lint-all.sh new file mode 100755 index 0000000..c36ffd4 --- /dev/null +++ b/lint-all.sh @@ -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!" + +