Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

format/imports/group

Not in any preset. Safe fix.

What it does

There MUST be group use for the same namespaces.

Configuration

[format.rules]
"imports/group" = true

To skip it in some files, add a @pun-ignore-file comment.

Options

Name Type Allowed values Default Upstream name
group-types list classy, functions, constants ["classy", "functions", "constants"] group_types

Replaces

Linked rules

More format/imports rules · Edit this page

Last updated on

Was this page helpful?