Skip to content

Commit 0b6235f

Browse files
Add related rules
1 parent 8185b21 commit 0b6235f

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

docs/rules/no-v-html.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ This rule reports all uses of `v-html` directive in order to reduce the risk of
4646

4747
If you are certain the content passed to `v-html` is sanitized HTML you can disable this rule.
4848

49+
## :couple: Related Rules
50+
51+
- [vue/no-v-text](./no-v-text.md)
52+
- [vue/no-v-text-v-html-on-component](./no-v-text-v-html-on-component.md)
53+
4954
## :rocket: Version
5055

5156
This rule was introduced in eslint-plugin-vue v4.7.0

docs/rules/no-v-text-v-html-on-component.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ If you use v-text / v-html on a component, it will overwrite the component's con
8484

8585
</eslint-code-block>
8686

87+
## :couple: Related Rules
88+
89+
- [vue/no-v-text](./no-v-text.md)
90+
- [vue/no-v-html](./no-v-html.md)
91+
8792
## :rocket: Version
8893

8994
This rule was introduced in eslint-plugin-vue v8.4.0

docs/rules/no-v-text.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ This rule reports all uses of `v-text` directive.
3232

3333
Nothing.
3434

35+
## :couple: Related Rules
36+
37+
- [vue/no-v-html](./no-v-html.md)
38+
- [vue/no-v-text-v-html-on-component](./no-v-text-v-html-on-component.md)
39+
3540
## :rocket: Version
3641

3742
This rule was introduced in eslint-plugin-vue v7.17.0

0 commit comments

Comments
 (0)