Open
Description
Now that public/internal/private/etc import
is supported, we should have the OrderedImports
rule do separate groupings for each access level. Order the groups in descending order of access level (public
, package
, internal
, fileprivate/private
), with each group sorted lexicographically as usual.
Other details:
- If a user has both
internal import
andimport
, do we unify them by adding/removinginternal
? We don't currently add or dropinternal
anywhere else, so we don't have a precedent here. - We do need to respect the
fileprivate/private
configuration that's used for other file-scoped declarations.
Metadata
Metadata
Assignees
Labels
No labels