Skip to main content

sv check

sv check runs svelte-check in your project and reports errors and warnings such as unused CSS, accessibility hints, and JavaScript/TypeScript compiler errors.

It runs svelte-check internally, and only if it is installed in your project (global installs are ignored):

npm i -D svelte-check
npx sv check

Options

All svelte-check options are forwarded, plus:

-C, --cwd <path>

Path to the root of your project. Defaults to the current working directory.

Edit this page on GitHub llms.txt

previous next