Skip to content

Commit

Permalink
docs: Update sort-keys options properties count (#18025)
Browse files Browse the repository at this point in the history
The current count is incorrect (3), as there are four items.
Avoid needing to update this with making the text more generic.
  • Loading branch information
lb- committed Jan 24, 2024
1 parent dfb68b6 commit e6eebca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rules/sort-keys.md
Expand Up @@ -85,7 +85,7 @@ The 1st option is `"asc"` or `"desc"`.
* `"asc"` (default) - enforce properties to be in ascending order.
* `"desc"` - enforce properties to be in descending order.

The 2nd option is an object which has 3 properties.
The 2nd option is an object which has the following properties.

* `caseSensitive` - if `true`, enforce properties to be in case-sensitive order. Default is `true`.
* `minKeys` - Specifies the minimum number of keys that an object should have in order for the object's unsorted keys to produce an error. Default is `2`, which means by default all objects with unsorted keys will result in lint errors.
Expand Down

0 comments on commit e6eebca

Please sign in to comment.