Skip to content

Commit 4cd6ec6

Browse files
committed
chore: run npm run update
1 parent 411e6c8 commit 4cd6ec6

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

docs/rules/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ For example:
324324
| [vue/no-use-computed-property-like-method](./no-use-computed-property-like-method.md) | disallow use computed property like method | |
325325
| [vue/no-useless-mustaches](./no-useless-mustaches.md) | disallow unnecessary mustache interpolations | :wrench: |
326326
| [vue/no-useless-v-bind](./no-useless-v-bind.md) | disallow unnecessary `v-bind` directives | :wrench: |
327+
| [vue/no-v-text](./no-v-text.md) | disallow use of v-text | :wrench: |
327328
| [vue/padding-line-between-blocks](./padding-line-between-blocks.md) | require or disallow padding lines between blocks | :wrench: |
328329
| [vue/require-direct-export](./require-direct-export.md) | require the component to be directly exported | |
329330
| [vue/require-emit-validator](./require-emit-validator.md) | require type definitions in emits | |

docs/rules/no-v-text.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ since: v7.17.0
1010
> disallow use of v-text
1111
1212
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
13+
1314
- However, when using selfClose to element with v-text like `<div v-text="foobar" />`, it can't be fixed.
1415

1516
## :book: Rule Details
1617

1718
This rule reports all uses of `v-text` directive.
1819

1920

20-
<eslint-code-block :rules="{'vue/no-v-text': ['error']}">
21+
<eslint-code-block fix :rules="{'vue/no-v-text': ['error']}">
2122

2223
```vue
2324
<template>

lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ module.exports = {
132132
'no-v-for-template-key': require('./rules/no-v-for-template-key'),
133133
'no-v-html': require('./rules/no-v-html'),
134134
'no-v-model-argument': require('./rules/no-v-model-argument'),
135+
'no-v-text': require('./rules/no-v-text'),
135136
'no-watch-after-await': require('./rules/no-watch-after-await'),
136137
'object-curly-newline': require('./rules/object-curly-newline'),
137138
'object-curly-spacing': require('./rules/object-curly-spacing'),

0 commit comments

Comments
 (0)