Skip to content

Commit 86b3b3f

Browse files
authored
Fix broken links in docs (#1803)
1 parent 1d1be85 commit 86b3b3f

File tree

55 files changed

+94
-93
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+94
-93
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![NPM version](https://img.shields.io/npm/v/eslint-plugin-vue.svg?style=flat)](https://npmjs.org/package/eslint-plugin-vue)
44
[![NPM downloads](https://img.shields.io/npm/dm/eslint-plugin-vue.svg?style=flat)](https://npmjs.org/package/eslint-plugin-vue)
55
[![CircleCI](https://img.shields.io/circleci/project/github/vuejs/eslint-plugin-vue/master.svg?style=flat)](https://circleci.com/gh/vuejs/eslint-plugin-vue)
6-
[![License](https://img.shields.io/github/license/vuejs/eslint-plugin-vue.svg?style=flat)](https://github.com/vuejs/eslint-plugin-vue/blob/master/LICENSE.md)
6+
[![License](https://img.shields.io/github/license/vuejs/eslint-plugin-vue.svg?style=flat)](https://github.com/vuejs/eslint-plugin-vue/blob/master/LICENSE)
77

88
> Official ESLint plugin for Vue.js
99
@@ -29,7 +29,7 @@ Be sure to read the [official ESLint guide](https://eslint.org/docs/developer-gu
2929

3030
To see what an abstract syntax tree (AST) of your code looks like, you may use [AST Explorer](https://astexplorer.net). After opening [AST Explorer](https://astexplorer.net), select `Vue` as the syntax and `vue-eslint-parser` as the parser.
3131

32-
The default JavaScript parser must be replaced because [Vue.js single file components](https://v3.vuejs.org/guide/single-file-component.html#single-file-components) are not plain JavaScript, but a custom file format. [`vue-eslint-parser`](https://github.com/vuejs/vue-eslint-parser) is a replacement parser that generates an enhanced AST with nodes that represent specific parts of the template syntax, as well as the contents of the `<script>` tag.
32+
The default JavaScript parser must be replaced because [Vue.js single file components](https://vuejs.org/guide/scaling-up/sfc.html) are not plain JavaScript, but a custom file format. [`vue-eslint-parser`](https://github.com/vuejs/vue-eslint-parser) is a replacement parser that generates an enhanced AST with nodes that represent specific parts of the template syntax, as well as the contents of the `<script>` tag.
3333

3434
To learn more about certain nodes in a produced AST, see the [ESTree project page](https://github.com/estree/estree) and the [vue-eslint-parser AST documentation](https://github.com/vuejs/vue-eslint-parser/blob/master/docs/ast.md).
3535

@@ -46,4 +46,4 @@ If you're stuck, remember there are many rules available for reference. If you c
4646

4747
## :lock: License
4848

49-
See the [LICENSE](LICENSE) file for license rights and limitations (MIT).
49+
See the [LICENSE](LICENSE) file for license rights and limitations (MIT).

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Official ESLint plugin for Vue.js.
99
This plugin allows us to check the `<template>` and `<script>` of `.vue` files with ESLint, as well as Vue code in `.js` files.
1010

1111
- Finds syntax errors.
12-
- Finds the wrong use of [Vue.js Directives](https://v3.vuejs.org/api/directives.html).
13-
- Finds the violation for [Vue.js Style Guide](https://v3.vuejs.org/style-guide/).
12+
- Finds the wrong use of [Vue.js Directives](https://vuejs.org/api/built-in-directives.html).
13+
- Finds the violation for [Vue.js Style Guide](https://vuejs.org/style-guide/).
1414

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

docs/rules/attributes-order.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ since: v4.3.0
1414

1515
## :book: Rule Details
1616

17-
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:
17+
This rule aims to enforce ordering of component attributes. The default order is specified in the [Vue.js Style Guide](https://vuejs.org/style-guide/rules-recommended.html#element-attribute-order) and is:
1818

1919
- `DEFINITION`
2020
e.g. 'is', 'v-is'
@@ -247,8 +247,8 @@ Note that `v-bind="object"` syntax is considered to be the same as the next or p
247247

248248
## :books: Further Reading
249249

250-
- [Style guide - Element attribute order](https://v3.vuejs.org/style-guide/#element-attribute-order-recommended)
251-
- [Style guide (for v2) - Element attribute order](https://vuejs.org/v2/style-guide/#Element-attribute-order-recommended)
250+
- [Style guide - Element attribute order](https://vuejs.org/style-guide/rules-recommended.html#element-attribute-order)
251+
- [Style guide (for v2) - Element attribute order](https://v2.vuejs.org/v2/style-guide/#Element-attribute-order-recommended)
252252

253253
## :rocket: Version
254254

docs/rules/component-api-style.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ export default {
7979
```
8080

8181
- Array options ... Defines the API styles you want to allow. Default is `["script-setup", "composition"]`. You can use the following values.
82-
- `"script-setup"` ... If set, allows [`<script setup>`](https://v3.vuejs.org/api/sfc-script-setup.html).
83-
- `"composition"` ... If set, allows [Composition API](https://v3.vuejs.org/api/composition-api.html) (not `<script setup>`).
82+
- `"script-setup"` ... If set, allows [`<script setup>`](https://vuejs.org/api/sfc-script-setup.html).
83+
- `"composition"` ... If set, allows [Composition API](https://vuejs.org/api/#composition-api) (not `<script setup>`).
8484
- `"composition-vue2"` ... If set, allows [Composition API for Vue 2](https://github.com/vuejs/composition-api) (not `<script setup>`). In particular, it allows `render`, `renderTracked` and `renderTriggered` alongside `setup`.
8585
- `"options"` ... If set, allows Options API.
8686

docs/rules/component-definition-name-casing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Vue.component('MyComponent', {
121121

122122
## :books: Further Reading
123123

124-
- [Style guide - Component name casing in JS/JSX](https://v3.vuejs.org/style-guide/#component-name-casing-in-js-jsx-strongly-recommended)
124+
- [Style guide - Component name casing in JS/JSX](https://vuejs.org/style-guide/rules-strongly-recommended.html#component-name-casing-in-js-jsx)
125125

126126
## :rocket: Version
127127

docs/rules/component-name-in-template-casing.md

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

144144
## :books: Further Reading
145145

146-
- [Style guide - Component name casing in templates](https://v3.vuejs.org/style-guide/#component-name-casing-in-templates-strongly-recommended)
146+
- [Style guide - Component name casing in templates](https://vuejs.org/style-guide/rules-strongly-recommended.html#component-name-casing-in-templates)
147147

148148
## :rocket: Version
149149

docs/rules/component-tags-order.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ This rule warns about the order of the `<script>`, `<template>` & `<style>` tags
114114

115115
## :books: Further Reading
116116

117-
- [Style guide - Single-file component top-level element order](https://v3.vuejs.org/style-guide/#single-file-component-top-level-element-order-recommended)
117+
- [Style guide - Single-file component top-level element order](https://vuejs.org/style-guide/rules-recommended.html#single-file-component-top-level-element-order)
118118

119119
## :rocket: Version
120120

docs/rules/custom-event-name-casing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ export default {
168168
- [Guide - Custom Events]
169169
- [Guide (for v2) - Custom Events]
170170

171-
[Guide - Custom Events]: https://v3.vuejs.org/guide/component-custom-events.html
172-
[Guide (for v2) - Custom Events]: https://vuejs.org/v2/guide/components-custom-events.html
171+
[Guide - Custom Events]: https://vuejs.org/guide/components/events.html
172+
[Guide (for v2) - Custom Events]: https://v2.vuejs.org/v2/guide/components-custom-events.html
173173

174174
## :couple: Related Rules
175175

docs/rules/first-attribute-linebreak.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ This rule aims to enforce a consistent location for the first attribute.
156156

157157
## :books: Further Reading
158158

159-
- [Style guide - Multi attribute elements](https://v3.vuejs.org/style-guide/#multi-attribute-elements-strongly-recommended)
159+
- [Style guide - Multi attribute elements](https://vuejs.org/style-guide/rules-strongly-recommended.html#multi-attribute-elements)
160160

161161
## :rocket: Version
162162

docs/rules/html-quotes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Object option:
9494

9595
## :books: Further Reading
9696

97-
- [Style guide - Quoted attribute values](https://v3.vuejs.org/style-guide/#Quoted-attribute-values-strongly-recommended)
97+
- [Style guide - Quoted attribute values](https://vuejs.org/style-guide/rules-strongly-recommended.html#quoted-attribute-values)
9898

9999
## :rocket: Version
100100

0 commit comments

Comments
 (0)