Skip to content

Commit a45b955

Browse files
committed
feat(sort-object-types): adds feature
1 parent bb1a7cb commit a45b955

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rules/sort-object-types/types.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ export type Options = Partial<{
2121
declarationMatchesPattern?: string
2222
allNamesMatchPattern?: string
2323
}
24+
groups: (
25+
| { newlinesBetween: 'ignore' | 'always' | 'never' }
26+
| Group[]
27+
| Group
28+
)[]
2429
type: 'alphabetical' | 'line-length' | 'unsorted' | 'natural' | 'custom'
2530
customGroups: Record<string, string[] | string> | CustomGroup[]
2631
/**
@@ -30,7 +35,6 @@ export type Options = Partial<{
3035
newlinesBetween: 'ignore' | 'always' | 'never'
3136
specialCharacters: 'remove' | 'trim' | 'keep'
3237
locales: NonNullable<Intl.LocalesArgument>
33-
groups: (Group[] | Group)[]
3438
partitionByNewLine: boolean
3539
/**
3640
* @deprecated for {@link `useConfigurationIf.declarationMatchesPattern`}

0 commit comments

Comments
 (0)