Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: nuxi typecheck certain files #407

Open
n-rowe opened this issue May 8, 2024 · 0 comments
Open

Feature: nuxi typecheck certain files #407

n-rowe opened this issue May 8, 2024 · 0 comments

Comments

@n-rowe
Copy link

n-rowe commented May 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant