Add JSON UI schema linting

This commit is contained in:
2026-01-18 12:40:16 +00:00
parent 1261c3e44d
commit ec78ec0f9b
2 changed files with 255 additions and 2 deletions

View File

@@ -8,8 +8,9 @@
"kill": "fuser -k 5000/tcp",
"prebuild": "mkdir -p /tmp/dist || true",
"build": "tsc -b --noCheck && vite build",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"lint": "eslint . --fix && npm run lint:schemas",
"lint:check": "eslint . && npm run lint:schemas",
"lint:schemas": "node scripts/lint-json-ui-schemas.cjs",
"optimize": "vite optimize",
"preview": "vite preview --host 0.0.0.0 --port ${PORT:-80}",
"test:e2e": "playwright test",