Skip to content

Commit 6a3070e

Browse files
committed
Update links to v2 docs
1 parent d195cab commit 6a3070e

17 files changed

+20
-20
lines changed

docs/rules/attributes-order.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Note that `v-bind="object"` syntax is considered to be the same as the next or p
248248
## :books: Further Reading
249249

250250
- [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://vuejs.org/v2/style-guide/#Element-attribute-order-recommended)
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/custom-event-name-casing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export default {
169169
- [Guide (for v2) - Custom Events]
170170

171171
[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
172+
[Guide (for v2) - Custom Events]: https://v2.vuejs.org/v2/guide/components-custom-events.html
173173

174174
## :couple: Related Rules
175175

docs/rules/next-tick-style.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ export default {
9191

9292
## :books: Further Reading
9393

94-
- [`Vue.nextTick` API in Vue 2](https://vuejs.org/v2/api/#Vue-nextTick)
95-
- [`vm.$nextTick` API in Vue 2](https://vuejs.org/v2/api/#vm-nextTick)
94+
- [`Vue.nextTick` API in Vue 2](https://v2.vuejs.org/v2/api/#Vue-nextTick)
95+
- [`vm.$nextTick` API in Vue 2](https://v2.vuejs.org/v2/api/#vm-nextTick)
9696
- [Global API Treeshaking](https://v3-migration.vuejs.org/breaking-changes/global-api-treeshaking.html)
9797
- [Global `nextTick` API in Vue 3](https://v3.vuejs.org/api/global-api.html#nexttick)
9898
- [Instance `$nextTick` API in Vue 3](https://v3.vuejs.org/api/instance-methods.html#nexttick)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Nothing.
3636

3737
- [Migration Guide - Functional Components](https://v3-migration.vuejs.org/breaking-changes/functional-components.html)
3838
- [Vue RFCs - 0007-functional-async-api-change](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0007-functional-async-api-change.md)
39-
- [Guide - Functional Components](https://vuejs.org/v2/guide/render-function.html#Functional-Components)
39+
- [Guide - Functional Components](https://v2.vuejs.org/v2/guide/render-function.html#Functional-Components)
4040

4141
## :rocket: Version
4242

docs/rules/no-deprecated-scope-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This rule reports deprecated `scope` attribute in Vue.js v2.5.0+.
4242

4343
## :books: Further Reading
4444

45-
- [API - scope](https://vuejs.org/v2/api/#scope-removed)
45+
- [API - scope](https://v2.vuejs.org/v2/api/#scope-removed)
4646

4747
## :rocket: Version
4848

docs/rules/no-deprecated-slot-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This rule reports deprecated `slot` attribute in Vue.js v2.6.0+.
3939

4040
## :books: Further Reading
4141

42-
- [API - slot](https://vuejs.org/v2/api/#slot-deprecated)
42+
- [API - slot](https://v2.vuejs.org/v2/api/#slot-deprecated)
4343

4444
## :rocket: Version
4545

docs/rules/no-deprecated-slot-scope-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This rule reports deprecated `slot-scope` attribute in Vue.js v2.6.0+.
3939

4040
## :books: Further Reading
4141

42-
- [API - slot-scope](https://vuejs.org/v2/api/#slot-scope-deprecated)
42+
- [API - slot-scope](https://v2.vuejs.org/v2/api/#slot-scope-deprecated)
4343

4444
## :rocket: Version
4545

docs/rules/no-deprecated-vue-config-keycodes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Nothing.
4646

4747
[Migration Guide - KeyCode Modifiers]: https://v3-migration.vuejs.org/breaking-changes/keycode-modifiers.html
4848
[Vue RFCs - 0014-drop-keycode-support]: https://github.com/vuejs/rfcs/blob/master/active-rfcs/0014-drop-keycode-support.md
49-
[API - Global Config - keyCodes]: https://vuejs.org/v2/api/#keyCodes
49+
[API - Global Config - keyCodes]: https://v2.vuejs.org/v2/api/#keyCodes
5050

5151
## :rocket: Version
5252

docs/rules/no-mutating-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Nothing.
9393
## :books: Further Reading
9494

9595
- [Style guide - Implicit parent-child communication](https://vuejs.org/style-guide/rules-use-with-caution.html#implicit-parent-child-communication)
96-
- [Vue - Prop Mutation - deprecated](https://vuejs.org/v2/guide/migration.html#Prop-Mutation-deprecated)
96+
- [Vue - Prop Mutation - deprecated](https://v2.vuejs.org/v2/guide/migration.html#Prop-Mutation-deprecated)
9797

9898
## :rocket: Version
9999

docs/rules/no-reserved-component-names.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default {
7777
- [Kebab case elements](https://stackoverflow.com/questions/22545621/do-custom-elements-require-a-dash-in-their-name/22545622#22545622)
7878
- [Valid custom element name](https://w3c.github.io/webcomponents/spec/custom/#valid-custom-element-name)
7979
- [API - Built-In Components](https://v3.vuejs.org/api/built-in-components.html)
80-
- [API (for v2) - Built-In Components](https://vuejs.org/v2/api/index.html#Built-In-Components)
80+
- [API (for v2) - Built-In Components](https://v2.vuejs.org/v2/api/index.html#Built-In-Components)
8181

8282
## :rocket: Version
8383

docs/rules/no-shared-component-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Nothing.
7070

7171
## :books: Further Reading
7272

73-
- [Style guide (for v2) - Component data](https://vuejs.org/v2/style-guide/#Component-data-essential)
73+
- [Style guide (for v2) - Component data](https://v2.vuejs.org/v2/style-guide/#Component-data-essential)
7474
- [API - data](https://v3.vuejs.org/api/options-data.html#data-2)
7575
- [API (for v2) - data](https://v3.vuejs.org/api/options-data.html#data-2)
7676

docs/rules/no-unsupported-features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The `"ignores"` option accepts an array of the following strings.
4545
- `"dynamic-directive-arguments"` ... [dynamic directive arguments](https://v3.vuejs.org/guide/template-syntax.html#dynamic-arguments).
4646
- `"v-slot"` ... [v-slot](https://v3.vuejs.org/api/directives.html#v-slot) directive.
4747
- Vue.js 2.5.0+
48-
- `"slot-scope-attribute"` ... [slot-scope](https://vuejs.org/v2/api/#slot-scope-deprecated) attributes.
48+
- `"slot-scope-attribute"` ... [slot-scope](https://v2.vuejs.org/v2/api/#slot-scope-deprecated) attributes.
4949

5050
### `{"version": "^2.6.0"}`
5151

@@ -104,7 +104,7 @@ The `"ignores"` option accepts an array of the following strings.
104104
- [API - v-is (Old)](https://github.com/vuejs/docs-next/blob/008613756c3d781128d96b64a2d27f7598f8f548/src/api/directives.md#v-is)
105105
- [Guide - Dynamic Arguments](https://v3.vuejs.org/guide/template-syntax.html#dynamic-arguments)
106106
- [API - v-slot](https://v3.vuejs.org/api/directives.html#v-slot)
107-
- [API (for v2) - slot-scope](https://vuejs.org/v2/api/#slot-scope-deprecated)
107+
- [API (for v2) - slot-scope](https://v2.vuejs.org/v2/api/#slot-scope-deprecated)
108108
- [Vue RFCs - 0001-new-slot-syntax]
109109
- [Vue RFCs - 0002-slot-syntax-shorthand]
110110
- [Vue RFCs - 0003-dynamic-directive-arguments]

docs/rules/no-v-for-template-key.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Nothing.
5959
## :books: Further Reading
6060

6161
- [API - Special Attributes - key](https://v3.vuejs.org/api/special-attributes.html#key)
62-
- [API (for v2) - Special Attributes - key](https://vuejs.org/v2/api/#key)
62+
- [API (for v2) - Special Attributes - key](https://v2.vuejs.org/v2/api/#key)
6363

6464
## :rocket: Version
6565

docs/rules/order-in-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export default {
114114
## :books: Further Reading
115115

116116
- [Style guide - Component/instance options order](https://vuejs.org/style-guide/rules-recommended.html#component-instance-options-order)
117-
- [Style guide (for v2) - Component/instance options order](https://vuejs.org/v2/style-guide/#Component-instance-options-order-recommended)
117+
- [Style guide (for v2) - Component/instance options order](https://v2.vuejs.org/v2/style-guide/#Component-instance-options-order-recommended)
118118

119119
## :rocket: Version
120120

docs/rules/require-v-for-key.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Nothing.
4949
## :books: Further Reading
5050

5151
- [Style guide - Keyed v-for](https://vuejs.org/style-guide/rules-essential.html#use-keyed-v-for)
52-
- [Guide (for v2) - v-for with a Component](https://vuejs.org/v2/guide/list.html#v-for-with-a-Component)
52+
- [Guide (for v2) - v-for with a Component](https://v2.vuejs.org/v2/guide/list.html#v-for-with-a-Component)
5353

5454
## :rocket: Version
5555

docs/rules/valid-next-tick.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ Nothing.
7878

7979
## :books: Further Reading
8080

81-
- [`Vue.nextTick` API in Vue 2](https://vuejs.org/v2/api/#Vue-nextTick)
82-
- [`vm.$nextTick` API in Vue 2](https://vuejs.org/v2/api/#vm-nextTick)
81+
- [`Vue.nextTick` API in Vue 2](https://v2.vuejs.org/v2/api/#Vue-nextTick)
82+
- [`vm.$nextTick` API in Vue 2](https://v2.vuejs.org/v2/api/#vm-nextTick)
8383
- [Global API Treeshaking](https://v3-migration.vuejs.org/breaking-changes/global-api-treeshaking.html)
8484
- [Global `nextTick` API in Vue 3](https://v3.vuejs.org/api/global-api.html#nexttick)
8585
- [Instance `$nextTick` API in Vue 3](https://v3.vuejs.org/api/instance-methods.html#nexttick)

docs/rules/valid-v-bind-sync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Nothing.
7070

7171
## :books: Further Reading
7272

73-
- [Guide (for v2) - `.sync` Modifier](https://vuejs.org/v2/guide/components-custom-events.html#sync-Modifier)
73+
- [Guide (for v2) - `.sync` Modifier](https://v2.vuejs.org/v2/guide/components-custom-events.html#sync-Modifier)
7474

7575
## :rocket: Version
7676

0 commit comments

Comments
 (0)