Pattern: Missing use of keyed {#each}
block
Issue: -
This rule reports {#each}
block without key.
<script>
/* eslint svelte/require-each-key: "error" */
</script>
<!-- ✓ GOOD -->
{#each things as thing (thing.id)}
<Thing name={thing.name} />
{/each}
<!-- ✗ BAD -->
{#each things as thing}
<Thing name={thing.name} />
{/each}
Nothing.
This rule was introduced in eslint-plugin-svelte v2.28.0