Closed baseballyama closed 1 month ago
THe motivation is same as svelte/no-at-debug-tags.the
The $inspect should be removed when you no longer need it after you use it for debugging.
$inspect
<script> let count = $state(0); let message = $state('hello'); <!-- ✗ BAD --> $inspect(count, message); // will console.log when `count` or `message` change </script> <button onclick={() => count++}>Increment</button> <input bind:value={message} />
No response
Motivation
THe motivation is same as svelte/no-at-debug-tags.the
Description
The
$inspect
should be removed when you no longer need it after you use it for debugging.Examples
Additional comments
No response