We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
no-unused-props
9.22.0
eslint-plugin-svelte
3.3.1
<script lang="ts"> import GenericPopout from "./GenericPopout.svelte" let { position, }: { position: { x: number, y: number }, } = $props() </script> <GenericPopout position={position}> Test </GenericPopout>
No error
7:5 error 'x' in 'position' is an unused property svelte/no-unused-props 7:5 error 'y' in 'position' is an unused property svelte/no-unused-props
https://github.com/AlbertMarashi/svelte-eslint-repl
Version 3.1.0 worked, version 3.2.0 broke it
3.1.0
3.2.0
The text was updated successfully, but these errors were encountered:
3.3.1 is also broken
Sorry, something went wrong.
Related:
tuples
branded types
checkImportedTypes
This issue has been fixed in v3.3.2.
Successfully merging a pull request may close this issue.
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
9.22.0
What version of
eslint-plugin-svelte
are you using?3.3.1
What did you do?
What did you expect to happen?
No error
What actually happened?
Link to GitHub Repo with Minimal Reproducible Example
https://github.com/AlbertMarashi/svelte-eslint-repl
Additional comments
Version
3.1.0
worked, version3.2.0
broke itThe text was updated successfully, but these errors were encountered: