Allow deprecated members from the Dart SDK and Flutter Engine to roll in (#143347)

Namely, without breaking the tree. This is a deliberate policy decision
change.

See https://github.com/flutter/flutter/issues/143312.
This commit is contained in:
Matan Lurey 2024-02-13 10:41:46 -08:00 committed by GitHub
parent 8ba086a277
commit a628814ebd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,8 +20,10 @@ analyzer:
strict-inference: true strict-inference: true
strict-raw-types: true strict-raw-types: true
errors: errors:
# allow self-reference to deprecated members (we do this because otherwise we have # allow deprecated members (we do this because otherwise we have to annotate
# to annotate every member in every test, assert, etc, when we deprecate something) # 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 deprecated_member_use_from_same_package: ignore
exclude: exclude:
- "bin/cache/**" - "bin/cache/**"