Skip to content

Commit 58f3707

Browse files
committed
docs: improves wordings
1 parent cc65767 commit 58f3707

6 files changed

+6
-6
lines changed

docs/content/rules/sort-array-includes.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ Predefined groups are characterized by a selector.
308308
</sub>
309309
<sub>default: `{}`</sub>
310310

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

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

docs/content/rules/sort-imports.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ This feature is only applicable when `partitionByNewLine` is false.
369369
</sub>
370370
<sub>default: `{ value: {}, type: {} }`</sub>
371371

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

374374
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:
375375
- `string` — An import matching the value will be marked as part of the group referenced by the key.

docs/content/rules/sort-jsx-props.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ All members of the groups in the array will be sorted together as if they were p
232232
</sub>
233233
<sub>default: `{}`</sub>
234234

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

237237
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:
238238
- `string` — A JSX prop's name matching the value will be marked as part of the group referenced by the key.

docs/content/rules/sort-object-types.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ Current API:
433433
</sub>
434434
<sub>default: `[]`</sub>
435435
436-
You can define your own groups and use regexp pattern to match specific object type members.
436+
You can define your own groups and use regexp patterns to match specific object type members.
437437
438438
A custom group definition may follow one of the two following interfaces:
439439

docs/content/rules/sort-objects.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ Current API:
481481
</sub>
482482
<sub>default: `[]`</sub>
483483

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

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

docs/content/rules/sort-sets.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Predefined groups are characterized by a selector.
266266
</sub>
267267
<sub>default: `{}`</sub>
268268

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

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

0 commit comments

Comments
 (0)