Skip to content
On this page

vue/no-constant-condition

Disallow constant expressions in conditions in <template>

This rule is the same rule as core no-constant-condition rule but it applies to the expressions in <template>.

📚 Further Reading

🚀 Version

This rule was introduced in eslint-plugin-vue v7.5.0

🔍 Implementation

Taken with ❤️ from ESLint core