Enforce editorconfig

This commit is contained in:
Andras Schmelczer 2025-12-07 13:01:55 +00:00
parent e6bfefd2d5
commit 1ed22c72d7
2 changed files with 8 additions and 0 deletions

View file

@ -32,6 +32,13 @@ if [[ "$FIX_MODE" == true ]]; then
else
npm ci
fi
echo "Checking .editorconfig compliance"
if [[ "$FIX_MODE" == true ]]; then
npx eclint fix '../**/*' '!../node_modules/**' '!../frontend/node_modules/**' '!../sync-server/target/**' '!../frontend/dist/**' '!../.git/**'
else
npx eclint check '../**/*' '!../node_modules/**' '!../frontend/node_modules/**' '!../sync-server/target/**' '!../frontend/dist/**' '!../.git/**'
fi
npm run build
npm run test
npm run lint