@@ -209,18 +209,6 @@ Specifies the sorting locales. Refer To [String.prototype.localeCompare() - loca
209209- ` string ` — A BCP 47 language tag (e.g. ` 'en' ` , ` 'en-US' ` , ` 'zh-CN' ` ).
210210- ` string[] ` — An array of BCP 47 language tags.
211211
212- ### [ DEPRECATED] groupKind
213-
214- <sub >default: ` 'literals-first' ` </sub >
215-
216- Use the [ groups] ( #groups ) option with the ` literal ` and ` spread ` selectors instead. Make sure to set this option to ` mixed ` .
217-
218- Groups set elements by their kind, determining whether spread values should come before or after literal values.
219-
220- - ` mixed ` — Do not group set elements by their kind; spread values are sorted together with literal values.
221- - ` literals-first ` — Group all literal values before spread values.
222- - ` spreads-first ` — Group all spread values before literal values.
223-
224212### partitionByComment
225213
226214<sub >default: ` false ` </sub >
@@ -283,7 +271,7 @@ This option is only applicable when [`partitionByNewLine`](#partitionbynewline)
283271<sub >
284272 type: ` Array<string | string[]> `
285273</sub >
286- <sub >default: ` [] ` </sub >
274+ <sub >default: ` ['literal' ] ` </sub >
287275
288276Specifies a list of groups for sorting. Groups help organize elements into categories.
289277
@@ -404,11 +392,10 @@ Custom groups have a higher priority than any predefined group.
404392 fallbackSort: { type: 'unsorted' },
405393 ignoreCase: true,
406394 specialCharacters: 'keep',
407- groupKind: 'literals-first',
408395 partitionByNewLine: false,
409396 newlinesBetween: 'ignore',
410397 useConfigurationIf: {},
411- groups: [],
398+ groups: ['literal' ],
412399 customGroups: [],
413400 },
414401 ],
@@ -435,11 +422,10 @@ Custom groups have a higher priority than any predefined group.
435422 fallbackSort: { type: 'unsorted' },
436423 ignoreCase: true,
437424 specialCharacters: 'keep',
438- groupKind: 'literals-first',
439425 partitionByNewLine: false,
440426 newlinesBetween: 'ignore',
441427 useConfigurationIf: {},
442- groups: [],
428+ groups: ['literal' ],
443429 customGroups: [],
444430 },
445431 ],
0 commit comments