Skip to content

Add collection_methods_unrelated_type to core #787

Closed
dart-archive/lints
#136
@srawlins

Description

@srawlins

This new rule guards against a super-set of code which iterable_contains_unrelated_type and list_remove_unrelated_type guard against. These two rules are in core.yaml, and could be replaced by collection_methods_unrelated_type.

https://dart-lang.github.io/linter/lints/collection_methods_unrelated_type.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions