diff --git a/client/package.json b/client/package.json index 72a3765f..f5296e99 100644 --- a/client/package.json +++ b/client/package.json @@ -10,8 +10,9 @@ "cypress:open": "cypress open", "dev": "concurrently \"vite\" \"npm run codegen:watch\"", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", + "lint:errors": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --quiet --ignore-path .gitignore", "prettier": "prettier . --write", - "prettier:check": "prettier . --check", + "prettier:check": "prettier . --check --ignore-unknown", "tailwind": "tailwindcss -i tailwind.css -o ../server/vbv_lernwelt/static/css/tailwind.css --watch", "test": "vitest run", "typecheck": "npm run codegen && vue-tsc --noEmit -p tsconfig.app.json --composite false", diff --git a/git-pre-push.sh b/git-pre-push.sh index 8cb53b69..fcf48120 100755 --- a/git-pre-push.sh +++ b/git-pre-push.sh @@ -7,7 +7,7 @@ echo 'prettier:check' (cd client && npm run prettier:check) echo 'lint and typecheck' -(cd client && npm run lint && npm run typecheck) +(cd client && npm run lint:errors && npm run typecheck) echo 'python ufmt check' ufmt check server