-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
🐛 BUG: astro check summary shows warnings as hints #914
Comments
Not 100% sure if this is a printing or collecting issue, but: The printing happens here: language-tools/packages/astro-check/src/index.ts Lines 79 to 94 in 4ca26c0
and the collecting happens here: language-tools/packages/language-server/src/check.ts Lines 117 to 125 in 4ca26c0
Both seems correct to me at first glance, so not 100% sure where the issue is. Something to note is that TypeScript has a weird relationship with diagnostic severity, so that might be related too. |
It's also possible for this mistake to be in Volar itself, see: https://github.com/volarjs/volar.js/blob/ea2e22ca17116b4274d661a014cff040c1d206cb/packages/kit/lib/createChecker.ts#L230 My recommendation here would be to match |
+1 Any news on the issue? Seems like astro check is not that much usable with that. :/ I also tested |
I'm not sure I understand how this affects |
I think it is not just visual - with the option |
Describe the Bug
When running
astro check
with warnings, the summary shows the same number as hintsSteps to Reproduce
astro check
(Don't use this reproduction as an example okay? Very bad)
The text was updated successfully, but these errors were encountered: