No more eclint

This commit is contained in:
Andras Schmelczer 2026-03-25 20:01:01 +00:00
parent 3523d14fed
commit 1d1ddd7bbd
7 changed files with 62 additions and 37 deletions

View file

@ -45,10 +45,11 @@ cd frontend
npm run build
npm run test
npm run lint
cd ..
# Use git ls-files to only check tracked files, respecting .gitignore
# We always run in fix mode and then check with git status
git ls-files | xargs npx eclint fix
# Format all files across the project (frontend and backend)
# Prettier respects .gitignore by default
npx -C frontend prettier --write "**/*.{ts,js,json,md,yml,yaml}"
if [[ "$FIX_MODE" == false ]] && [[ $(git status --porcelain) ]]; then
git status --porcelain