Pattern: Unnecessary literal in reactive statement
Issue: -
This rule reports on any assignment of a static, unchanging value within a reactive statement because it's not necessary.
<script>
/* eslint svelte/no-reactive-literals: "error" */
/* ✓ GOOD */
let foo = 'bar';
/* ✗ BAD */
$: foo = 'bar';
</script>
Nothing.
This rule was introduced in eslint-plugin-svelte v2.4.0