Skip to content

Commit e756226

Browse files
committed
Update style guide links
1 parent 1d1be85 commit e756226

26 files changed

+28
-28
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This plugin allows us to check the `<template>` and `<script>` of `.vue` files w
1010

1111
- Finds syntax errors.
1212
- 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/).
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: 2 additions & 2 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,7 +247,7 @@ 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)
250+
- [Style guide - Element attribute order](https://vuejs.org/style-guide/rules-recommended.html#element-attribute-order)
251251
- [Style guide (for v2) - Element attribute order](https://vuejs.org/v2/style-guide/#Element-attribute-order-recommended)
252252

253253
## :rocket: Version

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/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

docs/rules/html-self-closing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Every option can be set to one of the following values:
9595

9696
## :books: Further Reading
9797

98-
- [Style guide - Self closing components](https://v3.vuejs.org/style-guide/#Self-closing-components-strongly-recommended)
98+
- [Style guide - Self closing components](https://vuejs.org/style-guide/rules-strongly-recommended.html#self-closing-components)
9999

100100
## :rocket: Version
101101

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

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

309309
## :books: Further Reading
310310

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

313313
## :rocket: Version
314314

docs/rules/max-attributes-per-line.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ There is a configurable number of attributes that are acceptable in one-line cas
114114

115115
## :books: Further Reading
116116

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

119119
## :rocket: Version
120120

docs/rules/multi-word-component-names.md

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

119119
## :books: Further Reading
120120

121-
- [Style guide - Multi-word component names](https://v3.vuejs.org/style-guide/#multi-word-component-names-essential)
121+
- [Style guide - Multi-word component names](https://vuejs.org/style-guide/rules-essential.html#use-multi-word-component-names)
122122

123123
## :rocket: Version
124124

docs/rules/name-property-casing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ This rule aims at enforcing the style for the `name` property casing for consist
8383

8484
## :books: Further Reading
8585

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

8888
## :rocket: Version
8989

docs/rules/new-line-between-multi-line-property.md

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

9090
## :books: Further Reading
9191

92-
- [Style guide - Empty lines in component/instance options](https://v3.vuejs.org/style-guide/#empty-lines-in-component-instance-options-recommended)
92+
- [Style guide - Empty lines in component/instance options](https://vuejs.org/style-guide/rules-recommended.html#empty-lines-in-component-instance-options)
9393

9494
## :rocket: Version
9595

docs/rules/no-confusing-v-for-v-if.md

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

6060
## :books: Further Reading
6161

62-
- [Style guide - Avoid v-if with v-for](https://v3.vuejs.org/style-guide/#avoid-v-if-with-v-for-essential)
62+
- [Style guide - Avoid v-if with v-for](https://vuejs.org/style-guide/rules-essential.html#avoid-v-if-with-v-for)
6363
- [Guide - Conditional Rendering / v-if with v-for](https://v3.vuejs.org/guide/conditional.html#v-if-with-v-for)
6464
- [Guide - List Rendering / v-for with v-if](https://v3.vuejs.org/guide/list.html#v-for-with-v-if)
6565

docs/rules/no-mutating-props.md

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

9393
## :books: Further Reading
9494

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

9898
## :rocket: Version

docs/rules/no-use-v-if-with-v-for.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ There are two common cases where this can be tempting:
8989

9090
## :books: Further Reading
9191

92-
- [Style guide - Avoid v-if with v-for](https://v3.vuejs.org/style-guide/#avoid-v-if-with-v-for-essential)
92+
- [Style guide - Avoid v-if with v-for](https://vuejs.org/style-guide/rules-essential.html#avoid-v-if-with-v-for)
9393
- [Guide - Conditional Rendering / v-if with v-for](https://v3.vuejs.org/guide/conditional.html#v-if-with-v-for)
9494
- [Guide - List Rendering / v-for with v-if](https://v3.vuejs.org/guide/list.html#v-for-with-v-if)
9595

docs/rules/one-component-per-file.md

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

5151
## :books: Further Reading
5252

53-
- [Style guide - Component files](https://v3.vuejs.org/style-guide/#component-files-strongly-recommended)
53+
- [Style guide - Component files](https://vuejs.org/style-guide/rules-strongly-recommended.html#component-files)
5454

5555
## :rocket: Version
5656

docs/rules/order-in-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ since: v3.2.0
1515
## :book: Rule Details
1616

1717
This rule makes sure you keep declared order of properties in components.
18-
Recommended order of properties can be [found here](https://v3.vuejs.org/style-guide/#component-instance-options-order-recommended).
18+
Recommended order of properties can be [found here](https://vuejs.org/style-guide/rules-recommended.html#component-instance-options-order).
1919

2020
<eslint-code-block fix :rules="{'vue/order-in-components': ['error']}">
2121

@@ -113,7 +113,7 @@ export default {
113113

114114
## :books: Further Reading
115115

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

119119
## :rocket: Version

docs/rules/prop-name-casing.md

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

6969
## :books: Further Reading
7070

71-
- [Style guide - Prop name casing](https://v3.vuejs.org/style-guide/#prop-name-casing-strongly-recommended)
71+
- [Style guide - Prop name casing](https://vuejs.org/style-guide/rules-strongly-recommended.html#prop-name-casing)
7272

7373
## :couple: Related Rules
7474

docs/rules/require-default-prop.md

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

6464
## :books: Further Reading
6565

66-
- [Style guide - Prop definitions](https://v3.vuejs.org/style-guide/#prop-definitions-essential)
66+
- [Style guide - Prop definitions](https://vuejs.org/style-guide/rules-essential.html#use-detailed-prop-definitions)
6767

6868
## :rocket: Version
6969

docs/rules/require-prop-types.md

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

6666
## :books: Further Reading
6767

68-
- [Style guide - Prop definitions](https://v3.vuejs.org/style-guide/#prop-definitions-essential)
68+
- [Style guide - Prop definitions](https://vuejs.org/style-guide/rules-essential.html#use-detailed-prop-definitions)
6969

7070
## :rocket: Version
7171

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

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

4949
## :books: Further Reading
5050

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

5454
## :rocket: Version

docs/rules/v-bind-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Default is set to `shorthand`.
6060

6161
## :books: Further Reading
6262

63-
- [Style guide - Directive shorthands](https://v3.vuejs.org/style-guide/#directive-shorthands-strongly-recommended)
63+
- [Style guide - Directive shorthands](https://vuejs.org/style-guide/rules-strongly-recommended.html#directive-shorthands)
6464

6565
## :rocket: Version
6666

docs/rules/v-on-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Default is set to `shorthand`.
6060

6161
## :books: Further Reading
6262

63-
- [Style guide - Directive shorthands](https://v3.vuejs.org/style-guide/#directive-shorthands-strongly-recommended)
63+
- [Style guide - Directive shorthands](https://vuejs.org/style-guide/rules-strongly-recommended.html#directive-shorthands)
6464

6565
## :rocket: Version
6666

docs/rules/v-slot-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ And a string option is supported to be consistent to similar `vue/v-bind-style`
105105

106106
## :books: Further Reading
107107

108-
- [Style guide - Directive shorthands](https://v3.vuejs.org/style-guide/#directive-shorthands-strongly-recommended)
108+
- [Style guide - Directive shorthands](https://vuejs.org/style-guide/rules-strongly-recommended.html#directive-shorthands)
109109

110110
## :rocket: Version
111111

lib/rules/no-use-v-if-with-v-for.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @author Yosuke Ota
33
*
4-
* Style guide: https://v3.vuejs.org/style-guide/#avoid-v-if-with-v-for-essential
4+
* Style guide: https://vuejs.org/style-guide/rules-essential.html#avoid-v-if-with-v-for
55
*/
66
'use strict'
77

0 commit comments

Comments
 (0)