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

feat: add support for include and exclude paths in typescript configuration #317

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kumikumi
Copy link

Implements the TypeScript side of #182

Until TypeScript adds support for excluding files or directories from typechecking (see my comment for my use case at microsoft/TypeScript#40426 (comment) ), the best we can do is to filter out the errors in the checker plugins.

I have implemented the "exclude" and "include" options to do just that.

The VueTsc side seems similar to the regular TypeScript checker at a glance, I didn't touch it yet because I'm not using Vue. I might implement it as well if there's interest. I'd need to make a repro for that.

Copy link

changeset-bot bot commented May 11, 2024

🦋 Changeset detected

Latest commit: 27b38f7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
vite-plugin-checker Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented May 11, 2024

Deploy Preview for vite-plugin-checker ready!

Name Link
🔨 Latest commit 27b38f7
🔍 Latest deploy log https://app.netlify.com/sites/vite-plugin-checker/deploys/663f76ca93d261000853376f
😎 Deploy Preview https://deploy-preview-317--vite-plugin-checker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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

Successfully merging this pull request may close these issues.

1 participant