# svelte/no-inspect

Warns against the use of $inspect directive

# 📖 Rule Details

This rule reports usages of $inspect.

<script>
  /* eslint svelte/no-inspect: "error" */
  // ✗ BAD
  $inspect(1);
</script>

# 🔧 Options

Nothing.

# 🚀 Version

This rule was introduced in eslint-plugin-svelte v2.45.0

# 🔍 Implementation