Skip to content

Commit 06cd9e9

Browse files
authored
Replace collection type lints with more general lint (flutter#4912)
See https://dart.dev/tools/linter-rules/collection_methods_unrelated_type
1 parent 7d31e9b commit 06cd9e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

analysis_options.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ linter:
7676
# - cascade_invocations # doesn't match the typical style of this repo
7777
- cast_nullable_to_non_nullable
7878
# - close_sinks # not reliable enough
79+
- collection_methods_unrelated_type
7980
# - combinators_ordering # DIFFERENT FROM FLUTTER/FLUTTER: This isn't available on stable yet.
8081
# - comment_references # blocked on https://github.com/dart-lang/linter/issues/1142
8182
- conditional_uri_does_not_exist
@@ -97,14 +98,12 @@ linter:
9798
- flutter_style_todos
9899
- hash_and_equals
99100
- implementation_imports
100-
- iterable_contains_unrelated_type
101101
# - join_return_with_assignment # not required by flutter style
102102
- leading_newlines_in_multiline_strings
103103
- library_names
104104
- library_prefixes
105105
- library_private_types_in_public_api
106106
# - lines_longer_than_80_chars # not required by flutter style
107-
- list_remove_unrelated_type
108107
# - literal_only_boolean_expressions # too many false positives: https://github.com/dart-lang/linter/issues/453
109108
- missing_whitespace_between_adjacent_strings
110109
- no_adjacent_strings_in_list

0 commit comments

Comments
 (0)