We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fea2c98 commit 1f3770fCopy full SHA for 1f3770f
docs/rules/no-textarea-mustache.md
@@ -10,23 +10,23 @@
10
11
This rule reports mustaches in `<textarea>`.
12
13
-:-1: Examples of **incorrect** code for this rule:
14
-
15
-```html
16
-<textarea>{{ message }}</textarea>
+<eslint-code-block :rules="{'vue/no-textarea-mustache': ['error']}">
17
```
+<template>
+ <!-- ✓ GOOD -->
+ <textarea v-model="message" />
18
19
-:+1: Examples of **correct** code for this rule:
20
21
22
-<textarea v-model="message"/>
+ <!-- ✗ BAD -->
+ <textarea>{{ message }}</textarea>
+</template>
23
+</eslint-code-block>
24
25
## :wrench: Options
26
27
Nothing.
28
29
-## Related links
+## :books: Further reading
30
31
- [Guide - Forms / Multiline text](https://vuejs.org/v2/guide/forms.html#Multiline-text)
32
0 commit comments