Skip to content

handle prefer_equal_for_default_values deprecation in 2.19 #786

Closed
@pq

Description

@pq

In 2.19.0 (as of dart-lang/sdk@289aa50), analyzer produces a warning when colons are used for default values. This makes prefer_equal_for_default_values redundant and slated for deprecation (dart-archive/linter#3855).

I plan to cherry-pick a linter that doesn't produce a lint for SDKs >= 2.19.0-0 so we won't double-report but we should still remove this lint from the recommended set. Is it worth a package:lints release that only removes this lint for SDKs >= 2.19.0-0? Other considerations?

/cc @bwilkerson @mit-mit @munificent @natebosch @jacob314 @jakemac53 @lrhn @devoncarew @goderbauer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions