mirror of
https://github.com/flutter/packages.git
synced 2025-06-23 16:40:00 +08:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user