Skip to content

Commit f478d65

Browse files
authored
Update documents (#1301)
* Update documentations * updatte * update docs
1 parent 990e13e commit f478d65

20 files changed

+82
-108
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@
1111

1212
See [the official website](https://eslint.vuejs.org).
1313

14-
> :exclamation: Attention - this is documentation for version `7.x` :exclamation:
15-
>
16-
> This branch contains `eslint-plugin-vue@next` which is a pre-released `7.0`, but it's not the default version that you get with `npm install eslint-plugin-vue`. In order to install this you need to specify either `"eslint-plugin-vue": "next"` in `package.json` or do `npm install eslint-plugin-vue@next`.
17-
>
18-
> Please try it and report any issues that you might have encountered.
19-
>
20-
> If you want to check previous releases [go here](https://github.com/vuejs/eslint-plugin-vue/releases).
21-
2214
## :anchor: Versioning Policy
2315

2416
This plugin is following [Semantic Versioning](https://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).

docs/.vuepress/theme/index.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/.vuepress/theme/layouts/Layout.vue

Lines changed: 0 additions & 77 deletions
This file was deleted.

docs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ This plugin allows us to check the `<template>` and `<script>` of `.vue` files w
1414

1515
ESLint editor integrations are useful to check your code in real-time.
1616

17+
:::warning Status of Vue.js 3.x supports
18+
This plugin supports the basic syntax of Vue.js 3.0, but the Vue.js 3.0 experimental features `<script setup>` and `<style vars>` are not yet supported. Follow [#1248](https://github.com/vuejs/eslint-plugin-vue/issues/1248) for more details.
19+
:::
20+
1721
## :traffic_light: Versioning policy
1822

1923
This plugin is following [Semantic Versioning](https://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).

docs/rules/attributes-order.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: enforce order of attributes
1212

1313
## :book: Rule Details
1414

15-
This rule aims to enforce ordering of component attributes. The default order is specified in the [Vue styleguide](https://v3.vuejs.org/style-guide/#element-attribute-order-recommended) and is:
15+
This rule aims to enforce ordering of component attributes. The default order is specified in the [Vue.js Style Guide](https://v3.vuejs.org/style-guide/#element-attribute-order-recommended) and is:
1616

1717
- `DEFINITION`
1818
e.g. 'is', 'v-is'

docs/rules/match-component-file-name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ export default {
306306

307307
## :books: Further Reading
308308

309-
- [Style guide - Single-file component filename casing](https://v3.vuejs.org/style-guide/#single-file-component-filename-casing-strongly-recommended)
309+
- [Style guide - Single-file component filename casing](https://v3.vuejs.org/style-guide/#single-file-component-filename-casing-strongly-recommended)
310310

311311
## :mag: Implementation
312312

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ description: disallow using deprecated object declaration on data (in Vue.js 3.0
1515
This rule reports use of deprecated object declaration on `data` property (in Vue.js 3.0.0+).
1616
The different from `vue/no-shared-component-data` is the root instance being also disallowed.
1717

18+
See [Migration Guide - Data Option](https://v3.vuejs.org/guide/migration/data-option.html) for more details.
19+
1820
<eslint-code-block fix :rules="{'vue/no-deprecated-data-object-declaration': ['error']}" language="javascript" filename="example.js">
1921

2022
```js
@@ -75,6 +77,7 @@ Nothing.
7577

7678
## :books: Further Reading
7779

80+
- [Migration Guide - Data Option](https://v3.vuejs.org/guide/migration/data-option.html)
7881
- [Vue RFCs - 0019-remove-data-object-declaration](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0019-remove-data-object-declaration.md)
7982

8083
## :mag: Implementation

docs/rules/no-deprecated-dollar-scopedslots-api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ description: disallow using deprecated `$scopedSlots` (in Vue.js 3.0.0+)
1414

1515
This rule reports use of deprecated `$scopedSlots`. (in Vue.js 3.0.0+).
1616

17+
See [Migration Guide - Slots Unification](https://v3.vuejs.org/guide/migration/slots-unification.html) for more details.
18+
1719
<eslint-code-block fix :rules="{'vue/no-deprecated-dollar-scopedslots-api': ['error']}">
1820

1921
```vue
@@ -39,6 +41,7 @@ Nothing.
3941

4042
## :books: Further Reading
4143

44+
- [Migration Guide - Slots Unification](https://v3.vuejs.org/guide/migration/slots-unification.html)
4245
- [Vue RFCs - 0006-slots-unification](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0006-slots-unification.md)
4346

4447
## :mag: Implementation

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ description: disallow using deprecated events api (in Vue.js 3.0.0+)
1313

1414
This rule reports use of deprecated `$on`, `$off` `$once` api. (in Vue.js 3.0.0+).
1515

16+
See [Migration Guide - Events API](https://v3.vuejs.org/guide/migration/events-api.html) for more details.
17+
1618
<eslint-code-block :rules="{'vue/no-deprecated-events-api': ['error']}">
1719

1820
```vue
@@ -57,6 +59,7 @@ Nothing.
5759

5860
## :books: Further Reading
5961

62+
- [Migration Guide - Events API](https://v3.vuejs.org/guide/migration/events-api.html)
6063
- [Vue RFCs - 0020-events-api-change](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0020-events-api-change.md)
6164

6265
## :mag: Implementation

docs/rules/no-deprecated-filter.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ description: disallow using deprecated filters syntax (in Vue.js 3.0.0+)
1111

1212
## :book: Rule Details
1313

14-
This rule reports deprecated `filters` syntax (removed in Vue.js v3.0.0+)
14+
This rule reports deprecated `filters` syntax (removed in Vue.js v3.0.0+).
15+
16+
See [Migration Guide - Filters](https://v3.vuejs.org/guide/migration/filters.html) for more details.
1517

1618
<eslint-code-block :rules="{'vue/no-deprecated-filter': ['error']}">
1719

@@ -43,6 +45,7 @@ Nothing.
4345

4446
## :books: Further Reading
4547

48+
- [Migration Guide - Filters](https://v3.vuejs.org/guide/migration/filters.html)
4649
- [Vue RFCs - 0015-remove-filters](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0015-remove-filters.md)
4750

4851
## :mag: Implementation

0 commit comments

Comments
 (0)