Skip to content

vue/no-textarea-mustache

disallow mustaches in <textarea>

  • ⚙️ This rule is included in all of "plugin:vue/vue3-essential", "plugin:vue/essential", "plugin:vue/vue3-strongly-recommended", "plugin:vue/strongly-recommended", "plugin:vue/vue3-recommended" and "plugin:vue/recommended".

📖 Rule Details

This rule reports mustaches in <textarea>.

Now loading...

Note

Interpolation on textareas (<textarea>{{text}}</textarea>) won't work. Use v-model instead. https://vuejs.org/guide/essentials/forms.html#multiline-text

🔧 Options

Nothing.

📚 Further Reading

🚀 Version

This rule was introduced in eslint-plugin-vue v3.0.0

🔍 Implementation