Skip to content

Commit 8f2129b

Browse files
committed
Update documents
1 parent 96712ba commit 8f2129b

13 files changed

+23
-20
lines changed

docs/rules/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
3939
| Rule ID | Description | |
4040
|:--------|:------------|:---|
4141
| [vue/no-async-in-computed-properties](./no-async-in-computed-properties.md) | disallow asynchronous actions in computed properties | |
42-
| [vue/no-deprecated-events-api](./no-deprecated-events-api.md) | disallow using deprecated events api | |
43-
| [vue/no-deprecated-data-object-declaration](./no-deprecated-data-object-declaration.md) | disallow using deprecated object declaration on data | :wrench: |
44-
| [vue/no-deprecated-filter](./no-deprecated-filter.md) | disallow using deprecated filters syntax | |
45-
| [vue/no-deprecated-inline-template](./no-deprecated-inline-template.md) | disallow using deprecated `inline-template` attribute | |
42+
| [vue/no-deprecated-data-object-declaration](./no-deprecated-data-object-declaration.md) | disallow using deprecated object declaration on data (in Vue.js 3.0.0+) | :wrench: |
43+
| [vue/no-deprecated-events-api](./no-deprecated-events-api.md) | disallow using deprecated events api (in Vue.js 3.0.0+) | |
44+
| [vue/no-deprecated-filter](./no-deprecated-filter.md) | disallow using deprecated filters syntax (in Vue.js 3.0.0+) | |
45+
| [vue/no-deprecated-inline-template](./no-deprecated-inline-template.md) | disallow using deprecated `inline-template` attribute (in Vue.js 3.0.0+) | |
4646
| [vue/no-deprecated-scope-attribute](./no-deprecated-scope-attribute.md) | disallow deprecated `scope` attribute (in Vue.js 2.5.0+) | :wrench: |
4747
| [vue/no-deprecated-slot-attribute](./no-deprecated-slot-attribute.md) | disallow deprecated `slot` attribute (in Vue.js 2.6.0+) | :wrench: |
4848
| [vue/no-deprecated-slot-scope-attribute](./no-deprecated-slot-scope-attribute.md) | disallow deprecated `slot-scope` attribute (in Vue.js 2.6.0+) | :wrench: |
4949
| [vue/no-deprecated-v-bind-sync](./no-deprecated-v-bind-sync.md) | disallow use of deprecated `.sync` modifier on `v-bind` directive (in Vue.js 3.0.0+) | :wrench: |
50-
| [vue/no-deprecated-v-on-number-modifiers](./no-deprecated-v-on-number-modifiers.md) | disallow using deprecated number (keycode) modifiers | :wrench: |
50+
| [vue/no-deprecated-v-on-number-modifiers](./no-deprecated-v-on-number-modifiers.md) | disallow using deprecated number (keycode) modifiers (in Vue.js 3.0.0+) | :wrench: |
5151
| [vue/no-dupe-keys](./no-dupe-keys.md) | disallow duplication of field names | |
5252
| [vue/no-duplicate-attributes](./no-duplicate-attributes.md) | disallow duplication of attributes | |
5353
| [vue/no-lifecycle-after-await](./no-lifecycle-after-await.md) | disallow asynchronously registered lifecycle hooks | |

docs/rules/no-deprecated-data-object-declaration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/no-deprecated-data-object-declaration
5-
description: disallow using deprecated object declaration on data
5+
description: disallow using deprecated object declaration on data (in Vue.js 3.0.0+)
66
---
77
# vue/no-deprecated-data-object-declaration
8-
> disallow using deprecated object declaration on data
8+
> disallow using deprecated object declaration on data (in Vue.js 3.0.0+)
99
1010
- :gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/vue3-strongly-recommended"` and `"plugin:vue/vue3-recommended"`.
1111
- :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.

docs/rules/no-deprecated-events-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/no-deprecated-events-api
5-
description: disallow using deprecated events api
5+
description: disallow using deprecated events api (in Vue.js 3.0.0+)
66
---
77
# vue/no-deprecated-events-api
8-
> disallow using deprecated events api
8+
> disallow using deprecated events api (in Vue.js 3.0.0+)
99
1010
- :gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/vue3-strongly-recommended"` and `"plugin:vue/vue3-recommended"`.
1111

docs/rules/no-deprecated-filter.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/no-deprecated-filter
5-
description: disallow using deprecated filters syntax
5+
description: disallow using deprecated filters syntax (in Vue.js 3.0.0+)
66
---
77
# vue/no-deprecated-filter
8-
> disallow using deprecated filters syntax
8+
> disallow using deprecated filters syntax (in Vue.js 3.0.0+)
99
1010
- :gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/vue3-strongly-recommended"` and `"plugin:vue/vue3-recommended"`.
1111

docs/rules/no-deprecated-inline-template.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/no-deprecated-inline-template
5-
description: disallow using deprecated `inline-template` attribute
5+
description: disallow using deprecated `inline-template` attribute (in Vue.js 3.0.0+)
66
---
77
# vue/no-deprecated-inline-template
8-
> disallow using deprecated `inline-template` attribute
8+
> disallow using deprecated `inline-template` attribute (in Vue.js 3.0.0+)
99
1010
- :gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/vue3-strongly-recommended"` and `"plugin:vue/vue3-recommended"`.
1111

lib/configs/vue3-essential.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ module.exports = {
77
extends: require.resolve('./base'),
88
rules: {
99
'vue/no-async-in-computed-properties': 'error',
10-
'vue/no-deprecated-events-api': 'error',
1110
'vue/no-deprecated-data-object-declaration': 'error',
11+
'vue/no-deprecated-events-api': 'error',
1212
'vue/no-deprecated-filter': 'error',
1313
'vue/no-deprecated-inline-template': 'error',
1414
'vue/no-deprecated-scope-attribute': 'error',

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ module.exports = {
4040
'no-boolean-default': require('./rules/no-boolean-default'),
4141
'no-confusing-v-for-v-if': require('./rules/no-confusing-v-for-v-if'),
4242
'no-custom-modifiers-on-v-model': require('./rules/no-custom-modifiers-on-v-model'),
43-
'no-deprecated-events-api': require('./rules/no-deprecated-events-api'),
4443
'no-deprecated-data-object-declaration': require('./rules/no-deprecated-data-object-declaration'),
44+
'no-deprecated-events-api': require('./rules/no-deprecated-events-api'),
4545
'no-deprecated-filter': require('./rules/no-deprecated-filter'),
4646
'no-deprecated-inline-template': require('./rules/no-deprecated-inline-template'),
4747
'no-deprecated-scope-attribute': require('./rules/no-deprecated-scope-attribute'),

lib/rules/no-deprecated-data-object-declaration.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = {
4343
meta: {
4444
type: 'problem',
4545
docs: {
46-
description: 'disallow using deprecated object declaration on data',
46+
description: 'disallow using deprecated object declaration on data (in Vue.js 3.0.0+)',
4747
categories: ['vue3-essential'],
4848
url: 'https://eslint.vuejs.org/rules/no-deprecated-data-object-declaration.html'
4949
},

lib/rules/no-deprecated-events-api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
meta: {
1919
type: 'problem',
2020
docs: {
21-
description: 'disallow using deprecated events api',
21+
description: 'disallow using deprecated events api (in Vue.js 3.0.0+)',
2222
categories: ['vue3-essential'],
2323
url: 'https://eslint.vuejs.org/rules/no-deprecated-events-api.html'
2424
},

lib/rules/no-deprecated-filter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
meta: {
1919
type: 'problem',
2020
docs: {
21-
description: 'disallow using deprecated filters syntax',
21+
description: 'disallow using deprecated filters syntax (in Vue.js 3.0.0+)',
2222
categories: ['vue3-essential'],
2323
url: 'https://eslint.vuejs.org/rules/no-deprecated-filter.html'
2424
},

lib/rules/no-deprecated-inline-template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
meta: {
1919
type: 'problem',
2020
docs: {
21-
description: 'disallow using deprecated `inline-template` attribute',
21+
description: 'disallow using deprecated `inline-template` attribute (in Vue.js 3.0.0+)',
2222
categories: ['vue3-essential'],
2323
url: 'https://eslint.vuejs.org/rules/no-deprecated-inline-template.html'
2424
},

lib/rules/no-deprecated-v-on-number-modifiers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = {
1919
meta: {
2020
type: 'problem',
2121
docs: {
22-
description: 'disallow using deprecated number (keycode) modifiers',
22+
description: 'disallow using deprecated number (keycode) modifiers (in Vue.js 3.0.0+)',
2323
categories: ['vue3-essential'],
2424
url: 'https://eslint.vuejs.org/rules/no-deprecated-v-on-number-modifiers.html'
2525
},

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,8 @@
7474
"typescript": "^3.5.2",
7575
"vue-eslint-editor": "^1.1.0",
7676
"vuepress": "^1.4.0"
77+
},
78+
"publishConfig": {
79+
"tag": "next"
7780
}
7881
}

0 commit comments

Comments
 (0)