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.
This commit is contained in:
Rūdolfs Ošiņš
2026-10-01 18:16:29 +02:00
parent 1d50ed5c95
commit b0fcde4d4b
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/sh
set -e
npx tsc --noEmit
# 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
+1 -2
View File
@@ -4,6 +4,5 @@ set -e
mkdir -p "$(dirname "$0")/../build"
cargo fmt --check
cargo clippy --workspace -- -Dwarnings
cargo check --workspace
cargo clippy --workspace --all-targets -- -Dwarnings
cargo test --workspace