Files
Rūdolfs Ošiņš b0fcde4d4b Drop redundant steps from the checks
svelte-check already type-checks what tsc did, clippy already runs cargo
check, and radicle-tauri has no doc tests. Linting all targets also
covers test code, which cargo test builds but never lints.
2026-10-01 18:16:29 +02:00

8 lines
409 B
Bash
Executable File

#!/bin/sh
set -e
# svelte-check also type-checks the .ts files in tsconfig.json, like tsc would.
npx svelte-check --tsconfig tsconfig.json --fail-on-warnings --compiler-warnings options_missing_custom_element:ignore
npx eslint --cache --cache-location node_modules/.cache/eslint --max-warnings 0 .
npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" "!crates/**/*" --ignore-path .gitignore --check --cache