Skip to content

Commit

Permalink
docs: improves wordings
Browse files Browse the repository at this point in the history
  • Loading branch information
hugop95 committed Jan 7, 2025
1 parent e661d06 commit d068276
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/content/rules/sort-array-includes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ Predefined groups are characterized by a selector.
</sub>
<sub>default: `{}`</sub>

You can define your own groups and use regexp pattern to match specific object type members.
You can define your own groups and use regexp patterns to match specific object type members.

A custom group definition may follow one of the two following interfaces:

Expand Down
2 changes: 1 addition & 1 deletion docs/content/rules/sort-imports.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ This feature is only applicable when `partitionByNewLine` is false.
</sub>
<sub>default: `{ value: {}, type: {} }`</sub>

You can define your own groups and use regexp pattern to match specific imports.
You can define your own groups and use regexp patterns to match specific imports.

Each key of the `value` or `type` fields represents a group name which you can then use in the `groups` option. The value for each key can either be of type:
- `string` — An import matching the value will be marked as part of the group referenced by the key.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/rules/sort-jsx-props.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ All members of the groups in the array will be sorted together as if they were p
</sub>
<sub>default: `{}`</sub>

You can define your own groups and use regexp pattern to match specific JSX attributes.
You can define your own groups and use regexp patterns to match specific JSX attributes.

Each key of `customGroups` represents a group name which you can then use in the `groups` option. The value for each key can either be of type:
- `string` — A JSX prop's name matching the value will be marked as part of the group referenced by the key.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/rules/sort-object-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ Current API:
</sub>
<sub>default: `[]`</sub>
You can define your own groups and use regexp pattern to match specific object type members.
You can define your own groups and use regexp patterns to match specific object type members.
A custom group definition may follow one of the two following interfaces:
Expand Down
2 changes: 1 addition & 1 deletion docs/content/rules/sort-objects.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ Current API:
</sub>
<sub>default: `[]`</sub>

You can define your own groups and use regexp pattern to match specific object keys.
You can define your own groups and use regexp patterns to match specific object keys.

A custom group definition may follow one of the two following interfaces:

Expand Down
2 changes: 1 addition & 1 deletion docs/content/rules/sort-sets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Predefined groups are characterized by a selector.
</sub>
<sub>default: `{}`</sub>

You can define your own groups and use regexp pattern to match specific object type members.
You can define your own groups and use regexp patterns to match specific object type members.

A custom group definition may follow one of the two following interfaces:

Expand Down

0 comments on commit d068276

Please sign in to comment.