-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Give better error message when ignoring no-slow-types
with deno-lint-ignore
#23182
Comments
I see this context from the other ticket:
That may be the reason why the no-slow-types rule was added and implemented as it is, but that's not how I experience it as a user. The no-slow-types check seems to be enabled implicitly on the CLI when the deno.json(c) file has fields that make it look like it's targeting JSR. (name, version, and exports, I think?) So, now my
I realize I'll need to deal with # 2 before I can publish without So I'd love to be able to ignore the no-slow-types checks for the things I'm not fixing now, so that Additionally, I think it's a mistake to have |
@NfNitLoop in regards to linting for explicit return type annotations, have you tried using the |
I find the implication of this very interesting. What does this mean for deno programs in a bigger picture? Heavy inference based typescript libraries like zod, valibot, trpc, drizzle, etc goes all in on these "slow types". Does this mean that using those patterns and libraries are effectively discouraged by deno? |
See #22683 (comment)
The text was updated successfully, but these errors were encountered: