veza/.lintstagedrc.json
senke 320e526428 feat(e2e): add 303 deep behavioral tests + fix WebSocket + lint-staged
9 deep E2E test files (303 tests total):
41-chat(33) 42-player(31) 43-upload(28) 44-auth(37) 45-playlists(35)
46-search(32) 47-social(30) 48-marketplace(30) 49-settings(37)

Fix WebSocket origin bug (Chat never worked):
GetAllowedWebSocketOrigins() excluded localhost/127.0.0.1 in dev.

Fix lint-staged gofmt: pass files as args not stdin.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 13:35:26 +02:00

15 lines
559 B
JSON

{
"apps/web/**/*.{ts,tsx}": [
"bash -c 'cd apps/web && npx eslint --max-warnings=0 --fix'",
"bash -c 'cd apps/web && npx tsc --noEmit -p tsconfig.json'"
],
"apps/web/**/*.{js,jsx,json,css,md}": ["prettier --write"],
"veza-backend-api/**/*.go": [
"bash -c 'cd veza-backend-api && gofmt -l -w \"$@\"' --",
"bash -c 'cd veza-backend-api && go vet ./...'"
],
"veza-stream-server/**/*.rs": [
"bash -c 'cd veza-stream-server && cargo fmt --'"
],
"*.{json,md,yml,yaml}": ["prettier --write"]
}