A fast diagnostic tool for Svelte projects.
- Drop-in replacement for
svelte-check - Significantly faster startup and execution
- Support for Svelte 5+ (runes, snippets, etc.)
TypeScript checking requires tsgo:
npm install -D @typescript/native-preview
# or
bun add -D @typescript/native-previewbrew install ampcode/tap/zvelte-check# Check current directory
zvelte-check
# Check specific workspace
zvelte-check --workspace ./my-project
# Output as JSON
zvelte-check --output json--workspace <path> Working directory (default: current directory)
--output <format> Output format: human, human-verbose, machine, json
--tsconfig <path> Path to tsconfig.json
--no-tsconfig Don't use tsconfig.json
--ignore <pattern> Glob pattern to ignore
--fail-on-warnings Exit with error on warnings
--threshold <level> Minimum severity: warning, error
Add .zvelte-check/ to your project's .gitignore:
echo '.zvelte-check/' >> .gitignoreThis directory contains temporary TypeScript stubs generated during type-checking.
MIT