You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/rules/sort-imports.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,7 +151,7 @@ Controls whether sorting should be case-sensitive or not.
151
151
152
152
Allows you to specify a pattern for identifying internal imports. This is useful for distinguishing your own modules from external dependencies.
153
153
154
-
The [minimatch](https://github.com/isaacs/minimatch) library is used for pattern matching.
154
+
You can use glob patterns to define these internal imports.
155
155
156
156
### newlinesBetween
157
157
@@ -254,7 +254,7 @@ import type { BaseOptions } from './index.d.ts'
254
254
255
255
<sub>default: `{ value: {}, type: {} }`</sub>
256
256
257
-
You can define your own groups for importing values or types. The [minimatch](https://github.com/isaacs/minimatch) library is used for pattern matching.
257
+
You can define your own groups for importing values of types using custom glob patterns for matching.
Copy file name to clipboardExpand all lines: docs/content/rules/sort-interfaces.mdx
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,9 +167,7 @@ Controls whether sorting should be case-sensitive or not.
167
167
168
168
Allows you to specify names or patterns for interfaces that should be ignored by this rule. This can be useful if you have specific interfaces that you do not want to sort.
169
169
170
-
You can specify their names or a pattern to ignore, for example: `'Component*'` to ignore all interfaces whose names begin with the word “Component”.
171
-
172
-
The [minimatch](https://github.com/isaacs/minimatch) library is used for pattern matching.
170
+
You can specify their names or a glob pattern to ignore, for example: `'Component*'` to ignore all interfaces whose names begin with the word “Component”.
173
171
174
172
### partitionByNewLine
175
173
@@ -222,7 +220,7 @@ Predefined Groups:
222
220
223
221
<sub>default: `{}`</sub>
224
222
225
-
You can define your own groups for interface members. The [minimatch](https://github.com/isaacs/minimatch) library is used for pattern matching.
223
+
You can define your own groups for interface members using custom glob patterns for matching.
Copy file name to clipboardExpand all lines: docs/content/rules/sort-jsx-props.mdx
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,9 +168,7 @@ Controls whether sorting should be case-sensitive or not.
168
168
169
169
Allows you to specify names or patterns for JSX elements that should be ignored by this rule. This can be useful if you have specific components that you do not want to sort.
170
170
171
-
For example: `'Table*'` to ignore all interfaces whose names begin with the word “Table”.
172
-
173
-
The [minimatch](https://github.com/isaacs/minimatch) library is used for pattern matching.
171
+
You can specify their names or a glob pattern to ignore, for example: `'Table*'` to ignore all object types whose names begin with the word Table.
174
172
175
173
### groups
176
174
@@ -190,7 +188,7 @@ Predefined Groups:
190
188
191
189
<sub>default: `{}`</sub>
192
190
193
-
You can define your own groups for JSX props. The [minimatch](https://github.com/isaacs/minimatch) library is used for pattern matching.
191
+
You can define your own groups for JSX props using custom glob patterns for matching.
Copy file name to clipboardExpand all lines: docs/content/rules/sort-objects.mdx
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,7 @@ Allows you to use comments to separate the keys of objects into logical groups.
189
189
190
190
-`true` — All comments will be treated as delimiters, creating partitions.
191
191
-`false` — Comments will not be used as delimiters.
192
-
- string — A pattern using [minimatch](https://github.com/isaacs/minimatch) to specify which comments should act as delimiters.
192
+
- string — A glob pattern to specify which comments should act as delimiters.
193
193
194
194
### partitionByNewLine
195
195
@@ -230,9 +230,7 @@ Determines whether this rule should be applied to styled-components like librari
230
230
231
231
Allows you to specify names or patterns for object types that should be ignored by this rule. This can be useful if you have specific objects that you do not want to sort.
232
232
233
-
For example: `'User*'` to ignore all interfaces whose names begin with the word “User”.
234
-
235
-
The [minimatch](https://github.com/isaacs/minimatch) library is used for pattern matching.
233
+
You can specify their names or a glob pattern to ignore, for example: `'User*'` to ignore all object types whose names begin with the word “User”.
236
234
237
235
### customIgnore
238
236
@@ -266,7 +264,7 @@ There are no predefined groups. You must use this with the `customGroups` option
266
264
267
265
<sub>default: `{}`</sub>
268
266
269
-
You can define your own groups for object keys. The [minimatch](https://github.com/isaacs/minimatch) library is used for pattern matching.
267
+
You can define your own groups for object keys using custom glob patterns for matching.
0 commit comments