Open
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- 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.33.0
What version of eslint-plugin-svelte
are you using?
2.32.4
What did you do?
<script lang='ts'>
const foo = [1,2,3] as const
</script>
{#each foo as value}
{/each}
What did you expect to happen?
no error, because the array cannot be changed so it's safe to iterate over it without a key
What actually happened?
[6:1]: Each block should have a key (svelte/require-each-key)