require class:list directives instead of class with expressions

  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

📖 Rule Details

This rule aims to replace the class attribute with expression with the class:list directive.

🔧 Options


📚 Further Reading

🚀 Version

This rule was introduced in eslint-plugin-astro v0.4.0

🔍 Implementation

Edit this page