Skip to content

forge flatten sort contracts alphabetically #9788

@sakulstra

Description

@sakulstra

Component

Forge

Describe the feature you would like

We rely on flatten quite heavily to diff code.
One huge pain point with this is that flattening two versions of a contract can result in dramatically different code as import order might have changed.

Therefore it would be a huge help/improvement if flatten would sort contacts alphabetically, either as default or when passing a flag.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions