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
Before You File a Bug Report Please Confirm You Have Done The Following...
I'm using eslint-plugin-svelte. (*.svelte file linting does not work with the parser alone. You should also use eslint-plugin-svelte with it.)
I'm sure the problem is a parser problem. (If you are not sure, search for the issue in eslint-plugin-svelte repo and open the issue in eslint-plugin-svelte repo if there is no solution.
I have tried restarting my IDE and the issue persists.
I have updated to the latest version of the packages.
What version of ESLint are you using?
8.23.0
What version of eslint-plugin-svelte and svelte-eslint-parser are you using?
Before You File a Bug Report Please Confirm You Have Done The Following...
*.svelte
file linting does not work with the parser alone. You should also use eslint-plugin-svelte with it.)What version of ESLint are you using?
8.23.0
What version of
eslint-plugin-svelte
andsvelte-eslint-parser
are you using?What did you do?
Configuration
What did you expect to happen?
No lint error.
What actually happened?
Get
Unsafe argument of type
anyassigned to a parameter of type
number | Date``Link to Minimal Reproducible Example
https://stackblitz.com/edit/vitejs-vite-up2dfg?file=src/App.svelte
Additional comments
only happen when
strict: true
in tsconfig.json andplugin:@typescript-eslint/recommended-requiring-type-checking
in .eslintrc.jsThe text was updated successfully, but these errors were encountered: