require use object instead of ternary expression in class:list

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

📖 Rule Details

This rule aims to use object elements than ternary expression in class:list.

🔧 Options


📚 Further Reading

🚀 Version

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

🔍 Implementation

Edit this page