You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see no-tsconfig is always false and passing --no-tsconfig actually sets tsconfig to false instead of undefined.
And thus the early return in getTsconfig does not fire.
Reproduction
Well, call svelte-check --no-tsconfig in a project where there are type errors.
Expected behaviour
Do not display all the Typescript errors in .ts files.
System Info
OS: NixOS (Linux)
IDE: VSCodium
Which package is the issue about?
svelte-check
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I want to only check svelte files and thus use
svelte-check --no-tsconfig
but it still loads the nearesttsconfig.json
and checks TS/JS.I added a log directly after parsing the options and this is what I got:
vs no flags:
As you can see
no-tsconfig
is always false and passing--no-tsconfig
actually setstsconfig
to false instead of undefined.And thus the early return in
getTsconfig
does not fire.Reproduction
Well, call
svelte-check --no-tsconfig
in a project where there are type errors.Expected behaviour
Do not display all the Typescript errors in
.ts
files.System Info
Which package is the issue about?
svelte-check
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: