You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for posting the issue.
We use the ESLint processor for linting client scripts. This assigns a virtual filename so TypeScript cannot get the type information.
I have no idea at the moment to work around this problem. If you have a good idea please let me know.
astro-eslint-issue/src/pages/index.astro
7:8 error Unsafe member access .then on an `any` value @typescript-eslint/no-unsafe-member-access
7:8 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
7:8 error Unsafe member access .query on an `any` value @typescript-eslint/no-unsafe-member-access
7:8 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
Description
Hey, it would be awesome if we can add support for
@typescript-eslint/recommended-type-checked
in script tag as follows:I will definitely make a PR if you can point me in the right direction!
The text was updated successfully, but these errors were encountered: