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
For my project I have lint-staged rules which run vitest related --run, eslint --fix and nuxi typecheck. lint-staged actually passes staged files to these commands, which works well for the first two, where only the files in staging are checked.
This causes issues for vue-tsc and nuxi typecheck where it disregards this completely and performs a full check on the entire project.
I'm thinking there should be a way to specify the files to be typechecked similar to the how the tsc-files package works.
There is an open issue for the tsc project to support this as right now when passing flies to tsc it disregards the tsconfig.json file. microsoft/TypeScript#27379
Again, this also seems to be a feature request in the actual vue-tsc project vuejs/language-tools#3233.
The text was updated successfully, but these errors were encountered:
For my project I have lint-staged rules which run
vitest related --run
,eslint --fix
andnuxi typecheck
.lint-staged
actually passes staged files to these commands, which works well for the first two, where only the files in staging are checked.This causes issues for
vue-tsc
andnuxi typecheck
where it disregards this completely and performs a full check on the entire project.I'm thinking there should be a way to specify the files to be typechecked similar to the how the tsc-files package works.
There is an open issue for the
tsc
project to support this as right now when passing flies totsc
it disregards thetsconfig.json
file. microsoft/TypeScript#27379Again, this also seems to be a feature request in the actual vue-tsc project vuejs/language-tools#3233.
The text was updated successfully, but these errors were encountered: