language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

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

Open pawelblaszczyk5 opened this issue 1 year ago • 1 comments

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!

pawelblaszczyk5 avatar Jun 27 '23 21:06 pawelblaszczyk5

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

ryoppippi avatar Jun 30 '24 13:06 ryoppippi