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

Integrating the "Zero-effort type safety" with typescript-eslint #2073

Open
pawelblaszczyk5 opened this issue Jun 27, 2023 · 1 comment
Open

Comments

@pawelblaszczyk5
Copy link

Hello,
I'm not 100% sure is it the correct place to ask/report it, but it was the best that I could think of 😃 Sorry in advance if that's not the case and I'd be grateful for pointing me a better place!

Currently in SvelteKit thanks to the LSP etc., we can use the auto types for stuff like data and load functions. However, I'm using typescript-eslint with lint rules that require type information. As far as this plugin is concerned these auto types don't exist so it throws a lot of errors. Is it possible to somehow integrate it with each other or do I need to manually add the typings from ./$types to satisfy the typescript-eslint if I want to use it? Here is my repository where the error occurs: https://github.com/pawelblaszczyk5/pawelblaszczyk.dev/tree/cd33d2495707b76d8a79a1be4393a38fe76fcd73

Thanks a lot in advance!

@ryoppippi
Copy link

ryoppippi commented Jun 30, 2024

I'm facing this issue.
I need a feature to omit declaration files to the project

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

2 participants