Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit f330905

Browse files
authored
Allow deprecated members from the Dart SDK to roll in. (#50575)
Namely, without breaking the tree. This is a deliberate policy decision change. See flutter/flutter#143312.
1 parent 2882076 commit f330905

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

analysis_options.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ analyzer:
1010
strict-inference: true
1111
strict-raw-types: true
1212
errors:
13-
# allow self-reference to deprecated members (we do this because otherwise we have
14-
# to annotate every member in every test, assert, etc, when we deprecate something)
13+
# allow deprecated members (we do this because otherwise we have to annotate
14+
# every member in every test, assert, etc, when we or the Dart SDK deprecates
15+
# something (https://github.com/flutter/flutter/issues/143312)
16+
deprecated_member_use: ignore
1517
deprecated_member_use_from_same_package: ignore
1618
exclude: # DIFFERENT FROM FLUTTER/FLUTTER
1719
# Fixture depends on dart:ui and raises false positives.

0 commit comments

Comments
 (0)