Skip to content

Commit d4cd35e

Browse files
authored
Update docs (#1252)
- Change link to documentation to v3. - Add links to the v3 documentation in the rules for v3. - format.
1 parent ce38da7 commit d4cd35e

File tree

125 files changed

+276
-273
lines changed

Some content is hidden

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

125 files changed

+276
-273
lines changed

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.
1010

1111
- Finds syntax errors.
12-
- Finds the wrong use of [Vue.js Directives](https://vuejs.org/v2/api/#Directives).
13-
- Finds the violation for [Vue.js Style Guide](https://vuejs.org/v2/style-guide/).
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/).
1414

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

docs/rules/array-bracket-spacing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: enforce consistent spacing inside array brackets
1111

1212
This rule is the same rule as core [array-bracket-spacing] rule but it applies to the expressions in `<template>`.
1313

14-
## :books: Further reading
14+
## :books: Further Reading
1515

1616
- [array-bracket-spacing]
1717

docs/rules/arrow-spacing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: enforce consistent spacing before and after the arrow in arrow func
1111

1212
This rule is the same rule as core [arrow-spacing] rule but it applies to the expressions in `<template>`.
1313

14-
## :books: Further reading
14+
## :books: Further Reading
1515

1616
- [arrow-spacing]
1717

docs/rules/attributes-order.md

Lines changed: 4 additions & 3 deletions
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://vuejs.org/v2/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 styleguide](https://v3.vuejs.org/style-guide/#element-attribute-order-recommended) and is:
1616

1717
- `DEFINITION`
1818
e.g. 'is'
@@ -215,9 +215,10 @@ This rule aims to enforce ordering of component attributes. The default order is
215215

216216
</eslint-code-block>
217217

218-
## :books: Further reading
218+
## :books: Further Reading
219219

220-
- [Style guide - Element attribute order](https://vuejs.org/v2/style-guide/#Element-attribute-order-recommended)
220+
- [Style guide - Element attribute order](https://v3.vuejs.org/style-guide/#element-attribute-order-recommended)
221+
- [Style guide (for v2) - Element attribute order](https://vuejs.org/v2/style-guide/#Element-attribute-order-recommended)
221222

222223
## :mag: Implementation
223224

docs/rules/block-spacing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: disallow or enforce spaces inside of blocks after opening block and
1111

1212
This rule is the same rule as core [block-spacing] rule but it applies to the expressions in `<template>`.
1313

14-
## :books: Further reading
14+
## :books: Further Reading
1515

1616
- [block-spacing]
1717

docs/rules/brace-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: enforce consistent brace style for blocks
1111

1212
This rule is the same rule as core [brace-style] rule but it applies to the expressions in `<template>`.
1313

14-
## :books: Further reading
14+
## :books: Further Reading
1515

1616
- [brace-style]
1717

docs/rules/camelcase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: enforce camelcase naming convention
99
1010
This rule is the same rule as core [camelcase] rule but it applies to the expressions in `<template>`.
1111

12-
## :books: Further reading
12+
## :books: Further Reading
1313

1414
- [camelcase]
1515

docs/rules/comma-dangle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: require or disallow trailing commas
1111

1212
This rule is the same rule as core [comma-dangle] rule but it applies to the expressions in `<template>`.
1313

14-
## :books: Further reading
14+
## :books: Further Reading
1515

1616
- [comma-dangle]
1717

docs/rules/comma-spacing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: enforce consistent spacing before and after commas
1111

1212
This rule is the same rule as core [comma-spacing] rule but it applies to the expressions in `<template>`.
1313

14-
## :books: Further reading
14+
## :books: Further Reading
1515

1616
- [comma-spacing]
1717

docs/rules/comma-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: enforce consistent comma style
1111

1212
This rule is the same rule as core [comma-style] rule but it applies to the expressions in `<template>`.
1313

14-
## :books: Further reading
14+
## :books: Further Reading
1515

1616
- [comma-style]
1717

0 commit comments

Comments
 (0)