Skip to content

Consider adding unnecessary_library_name to recommended #823

Closed
dart-archive/lints
#198
@devoncarew

Description

@devoncarew

This is a proposal to add unnecessary_library_name to the recommended set.

This very newly added lint landed in https://dart-review.googlesource.com/c/sdk/+/358561.

It fires whenever there's a library name in a library directive; this matches our recommendation in recommended Dart: "DON'T have a library name in a library declaration".

Note that this will not be generally available until 3.4.0 is stable.

Implicit in this request is that we remove package_names from the recommended set ("Use lowercase_with_underscores for package names.").

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Under consideration

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions