importsort-d ~master (2022-10-23T14:17:22Z)
Dub
Repo
PATTERN
importsort
sort
the pattern to determinate a line is an import or not
enum
PATTERN
=
ctRegex
!
`^(\s*)(?:(public|static)\s+)?import\s+(?:(\w+)\s*=\s*)?([a-zA-Z._]+)\s*(:\s*\w+(?:\s*=\s*\w+)?(?:\s*,\s*\w+(?:\s*=\s*\w+)?)*)?\s*;[ \t]*([\n\r]*)$`
;
Meta
Source
See Source File
importsort
sort
functions
sortImports
writeImports
manifest constants
PATTERN
structs
Identifier
Import
SortConfig
the pattern to determinate a line is an import or not