Skip to content

Deprecate iterable_contains_unrelated_type and list_remove_unrelated_type #58958

Closed
dart-archive/linter
#4360
@srawlins

Description

@srawlins

in favor of collection_methods_unrelated_type

See my proposal to replace those two with the new rule in the lints package: dart-lang/core#787.

The best way to do this would be to ship a lints release with iterable_contains_unrelated_type and list_remove_unrelated_type replaced by collection_methods_unrelated_type, then deprecated them. This would result in less churn.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions