Skip to content

Complete list of Svelte compiler warning codes #5677

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

Closed
L0y3r opened this issue Nov 13, 2020 · 3 comments
Closed

Complete list of Svelte compiler warning codes #5677

L0y3r opened this issue Nov 13, 2020 · 3 comments

Comments

@L0y3r
Copy link

L0y3r commented Nov 13, 2020

Is your feature request related to a problem? Please describe.
Every time I use a package that doesn't have .d.ts declaration file, svelte-check shows hints and suggest me try to install its @types package

Describe the solution you'd like
I read in the documentation that I can disable Svelte compiler warning codes, but I can't find an official list of these

Describe alternatives you've considered
Another option that I'm considering is change the threshold , but I may lose another useful hints

Additional context
I'm using snowpack with the basic svelte template

@dummdidumm
Copy link
Member

The specific error you refer to is a Typescript warning/hint, not a svelte warning, so that cannot be disabled.
A complete list indeed would be nice, right now it's scattered throughout Svelte core. Transferring for that reason.

@dummdidumm dummdidumm transferred this issue from sveltejs/language-tools Nov 13, 2020
@stale
Copy link

stale bot commented Jun 26, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale-bot label Jun 26, 2021
@stale stale bot removed the stale-bot label Jun 26, 2021
@stale stale bot removed the stale-bot label Jun 27, 2021
@dummdidumm
Copy link
Member

Closing as duplicate of #5281

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

3 participants