From a8642544730aef7a3da61d7093ea22acc6987dd8 Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Wed, 14 Feb 2024 04:19:26 -0800 Subject: [PATCH] Allow deprecated members from the Dart SDK/Flutter Framework to roll in (#6111) Namely, without breaking the tree. This is a deliberate policy decision change. See https://github.com/flutter/flutter/issues/143312. --- analysis_options.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 69c2634ca12ae..364fc12db89a1 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -11,8 +11,10 @@ analyzer: strict-inference: true strict-raw-types: true errors: - # allow self-reference to deprecated members (we do this because otherwise we have - # to annotate every member in every test, assert, etc, when we deprecate something) + # allow deprecated members (we do this because otherwise we have to annotate + # every member in every test, assert, etc, when we or the Dart SDK deprecates + # something (https://github.com/flutter/flutter/issues/143312) + deprecated_member_use: ignore deprecated_member_use_from_same_package: ignore exclude: # DIFFERENT FROM FLUTTER/FLUTTER # Ignore generated files