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
I've created a minimal reproducible example by running npx sv create my-app which contains Vite 6.2.5 and the problem also arose in that example.
What did you expect to happen?
No error because I am using the destructured props.
What actually happened?
I updated Vite from 5.4.17 to 5.4.18 after a security vulnerability was found in 5.4.17. After updating, I got this message:
[eslint] 31:9 error 'disabled' is an unused Props property svelte/no-unused-props
[eslint] 31:9 error 'variant' is an unused Props property svelte/no-unused-props
[eslint] 31:9 error 'label' is an unused Props property svelte/no-unused-props
[eslint] 31:9 error 'className' is an unused Props property svelte/no-unused-props
[eslint] 31:9 error 'alignSelf' is an unused Props property svelte/no-unused-props
[eslint] 31:9 error 'stretch' is an unused Props property svelte/no-unused-props
[eslint] 31:9 error 'maxWidth' is an unused Props property svelte/no-unused-props
[eslint] 31:9 error 'icon' is an unused Props property svelte/no-unused-props
So afterwards I updated eslint-plugin-svelte to 3.5.1 and eslint to 9.24.0 but the problem persisted.
I also tried renaming props to passedProps but with little luck.
Link to GitHub Repo with Minimal Reproducible Example
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
9.24.0
What version of
eslint-plugin-svelte
are you using?3.5.1
What did you do?
Configuration
Component
I've created a minimal reproducible example by running
npx sv create my-app
which contains Vite 6.2.5 and the problem also arose in that example.What did you expect to happen?
No error because I am using the destructured props.
What actually happened?
I updated Vite from 5.4.17 to 5.4.18 after a security vulnerability was found in 5.4.17. After updating, I got this message:
So afterwards I updated
eslint-plugin-svelte
to 3.5.1 andeslint
to 9.24.0 but the problem persisted.I also tried renaming
props
topassedProps
but with little luck.Link to GitHub Repo with Minimal Reproducible Example
https://github.com/ChanelZM/eslint-plugin-svelte-minimal-reproducible-example
Additional comments
No response
The text was updated successfully, but these errors were encountered: