Skip to content

Commit 667bb2e

Browse files
committed
version 6.2.0
1 parent ca2c962 commit 667bb2e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/rules/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ For example:
169169
| [vue/require-direct-export](./require-direct-export.md) | require the component to be directly exported | |
170170
| [vue/require-name-property](./require-name-property.md) | require a name property in Vue components | |
171171
| [vue/script-indent](./script-indent.md) | enforce consistent indentation in `<script>` | :wrench: |
172-
| [vue/sort-keys](./sort-keys.md) | enforce sort-keys within components after the top level details | |
172+
| [vue/sort-keys](./sort-keys.md) | enforce sort-keys in a manner that is compatible with order-in-components | |
173173
| [vue/space-infix-ops](./space-infix-ops.md) | require spacing around infix operators | :wrench: |
174174
| [vue/space-unary-ops](./space-unary-ops.md) | enforce consistent spacing before or after unary operators | :wrench: |
175175
| [vue/static-class-names-order](./static-class-names-order.md) | enforce static class names order | :wrench: |

docs/rules/sort-keys.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ title: vue/sort-keys
55
description: enforce sort-keys in a manner that is compatible with order-in-components
66
---
77
# vue/sort-keys
8-
> enforce sort-keys within components after the top level details
8+
> enforce sort-keys in a manner that is compatible with order-in-components
99
10-
This rule is almost the same rule as core [sorts-keys] rule but it will not error on top component properties allowing that order to be enforced with `order-in-components`.
10+
This rule is almost the same rule as core [sort-keys] rule but it will not error on top component properties allowing that order to be enforced with `order-in-components`.
1111

12-
## Options
12+
## :wrench: Options
1313

1414
```json
1515
{
@@ -43,7 +43,7 @@ While using this rule, you may disable the normal `sort-keys` rule. This rule w
4343
This rule forces many dictionary properties to be in alphabetical order while allowing `order-in-components`, property details,
4444
and other similar fields not to be in alphabetical order.
4545

46-
<eslint-code-block fix :rules="{'vue/sort-keys': ['error']}">
46+
<eslint-code-block :rules="{'vue/sort-keys': ['error']}">
4747

4848
```vue
4949
<script>
@@ -70,7 +70,7 @@ export default {
7070

7171
</eslint-code-block>
7272

73-
<eslint-code-block fix :rules="{'vue/sort-keys': ['error']}">
73+
<eslint-code-block :rules="{'vue/sort-keys': ['error']}">
7474

7575
```vue
7676
<script>
@@ -99,7 +99,7 @@ export default {
9999

100100
## :books: Further reading
101101

102-
- [sorts-keys]
102+
- [sort-keys]
103103

104104
[sort-keys]: https://eslint.org/docs/rules/sort-keys
105105

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-vue",
3-
"version": "6.1.2",
3+
"version": "6.2.0",
44
"description": "Official ESLint plugin for Vue.js",
55
"main": "lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)