astro/valid-compile
disallow warnings when compiling.
- ⚙ This rule is included in the
recommendedconfig.
📖 Rule Details
This rule uses @astrojs/compiler to check the source code.
---
/* eslint astro/valid-compile: "error" */
---
{/* ✗ BAD */}
<p set:html="string">string</p>🔧 Options
Nothing.
📚 Further Reading
👫 Related Rules
🚀 Version
This rule was introduced in eslint-plugin-astro v0.21.0
🔍 Implementation
Edit this page