-
-
Notifications
You must be signed in to change notification settings - Fork 48
Svelte TypeScript code is not type checked #340
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
Comments
Thank you for posting issue.
Which eslint rule did you expect to error? Or are you talking about type checking in TypeScript? If so, this issue is not about this plugin as it is an ESLint plugin. |
@ota-meshi, yes, I mean the basic type checking in TypeScript. Oh my gosh, it was my bad for not understanding that TypeScript type checking was done with that NPM script. Thank you for helping me out clarifying that one! Arigatou hosaimasu, Ota-san! |
@ota-meshi Is my expectation wrong here too? I'm not using typescript at the moment, but I have a few rules in my eslint config:
which seem only to be applied to .js files, not the |
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
8.28.0
What version of
eslint-plugin-svelte
are you using?2.14.1
What did you do?
Configuration
What did you expect to happen?
The linter should throw error in the Svelte component since there is a type check error.
What actually happened?
No error was thrown.
Link to GitHub Repo with Minimal Reproducible Example
SvelteKit project with ESLint, TypeScript, and eslint-plugin-svelte: https://github.com/romelperez/sveltekit-app-eslint-plugin-svelte
You can run:
Additional comments
Thank you!
The text was updated successfully, but these errors were encountered: