Skip to content

Commit

Permalink
version 6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Feb 16, 2020
1 parent ca2c962 commit 667bb2e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/rules/README.md
Expand Up @@ -169,7 +169,7 @@ For example:
| [vue/require-direct-export](./require-direct-export.md) | require the component to be directly exported | |
| [vue/require-name-property](./require-name-property.md) | require a name property in Vue components | |
| [vue/script-indent](./script-indent.md) | enforce consistent indentation in `<script>` | :wrench: |
| [vue/sort-keys](./sort-keys.md) | enforce sort-keys within components after the top level details | |
| [vue/sort-keys](./sort-keys.md) | enforce sort-keys in a manner that is compatible with order-in-components | |
| [vue/space-infix-ops](./space-infix-ops.md) | require spacing around infix operators | :wrench: |
| [vue/space-unary-ops](./space-unary-ops.md) | enforce consistent spacing before or after unary operators | :wrench: |
| [vue/static-class-names-order](./static-class-names-order.md) | enforce static class names order | :wrench: |
Expand Down
12 changes: 6 additions & 6 deletions docs/rules/sort-keys.md
Expand Up @@ -5,11 +5,11 @@ title: vue/sort-keys
description: enforce sort-keys in a manner that is compatible with order-in-components
---
# vue/sort-keys
> enforce sort-keys within components after the top level details
> enforce sort-keys in a manner that is compatible with order-in-components
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`.
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`.

## Options
## :wrench: Options

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

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

```vue
<script>
Expand All @@ -70,7 +70,7 @@ export default {

</eslint-code-block>

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

```vue
<script>
Expand Down Expand Up @@ -99,7 +99,7 @@ export default {

## :books: Further reading

- [sorts-keys]
- [sort-keys]

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-vue",
"version": "6.1.2",
"version": "6.2.0",
"description": "Official ESLint plugin for Vue.js",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 667bb2e

Please sign in to comment.