Skip to content

Commit

Permalink
feat(sort-object-types): adds feature
Browse files Browse the repository at this point in the history
  • Loading branch information
hugop95 committed Dec 26, 2024
1 parent f5d04e8 commit d561f91
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rules/sort-object-types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ export type Options = Partial<{
declarationMatchesPattern?: string
allNamesMatchPattern?: string
}
groups: (
| { newlinesBetween: 'ignore' | 'always' | 'never' }
| Group[]
| Group
)[]
type: 'alphabetical' | 'line-length' | 'unsorted' | 'natural' | 'custom'
customGroups: Record<string, string[] | string> | CustomGroup[]
/**
Expand All @@ -23,7 +28,6 @@ export type Options = Partial<{
newlinesBetween: 'ignore' | 'always' | 'never'
specialCharacters: 'remove' | 'trim' | 'keep'
locales: NonNullable<Intl.LocalesArgument>
groups: (Group[] | Group)[]
partitionByNewLine: boolean
/**
* @deprecated for {@link `useConfigurationIf.declarationMatchesPattern`}
Expand Down

0 comments on commit d561f91

Please sign in to comment.