mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-10-23 21:40:34 +08:00
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.
8 lines
409 B
Bash
Executable File
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
|