# 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
  
Do not use $inspect directive (svelte/no-inspect)
$inspect
(1);
</script>

# 🔧 Options

Nothing.

# 🚀 Version

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

# 🔍 Implementation