Skip to content

sort_pub_dependencies should consider non-pub as different #59714

Open
@FMorschel

Description

@FMorschel

I believe sort_pub_dependencies should behave similarly to directives_ordering where if I have:

dependencies:
  provider: ^6.0.5
  my_package:
    path: /path/to/package
  other:
    git:
      url: git://github.com/My-Company/my.git
      ref: main

For this, I'd say I'd have three different "spaces". One for pub, one for git and another for path. In my company, we have some internal packages and having that triggering for sorting them all together is a bit weird IMO considering (the directives_ordering logic and) the amount of space required for path dependencies and pub dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions