pageClass | sidebarDepth | title | description | since |
---|---|---|---|---|
rule-details |
0 |
svelte/no-inspect |
Warns against the use of `$inspect` directive |
v2.45.0 |
Warns against the use of
$inspect
directive
This rule reports usages of $inspect
.
<script>
/* eslint svelte/no-inspect: "error" */
// ✗ BAD
$inspect(1);
</script>
Nothing.
This rule was introduced in eslint-plugin-svelte v2.45.0