From e452856698e6a9cb3abe648c14339a1eaef78f17 Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Tue, 15 Aug 2023 11:31:11 -0500 Subject: [PATCH] Replace deprecated linter rules (#6913) --- analysis_options.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index a555044d9d..39743ce6e6 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,11 +1,11 @@ -# https://dart.dev/guides/language/analysis-options +# https://dart.dev/tools/analysis analyzer: exclude: - pkg/pub_integration/test_data/ language: strict-casts: true -# http://dart-lang.github.io/linter/lints/options/options.html +# https://dart.dev/lints linter: rules: - always_declare_return_types @@ -23,6 +23,7 @@ linter: - camel_case_types - cancel_subscriptions - close_sinks + - collection_methods_unrelated_type - comment_references - constant_identifier_names - control_flow_in_finally @@ -33,10 +34,8 @@ linter: - empty_statements - hash_and_equals - implementation_imports - - iterable_contains_unrelated_type - library_names - library_prefixes - - list_remove_unrelated_type - literal_only_boolean_expressions - no_duplicate_case_values - non_constant_identifier_names