Skip to content

Commit

Permalink
Update sort-keys documentation to be generic about the count of optio…
Browse files Browse the repository at this point in the history
…n properties
  • Loading branch information
lb- committed Jan 23, 2024
1 parent 8c1b8dd commit af7e8f3
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 af7e8f3

Please sign in to comment.