Skip to content

Commit a628814

Browse files
authored
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 flutter/flutter#143312.
1 parent 8ba086a commit a628814

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
@@ -20,8 +20,10 @@ analyzer:
2020
strict-inference: true
2121
strict-raw-types: true
2222
errors:
23-
# allow self-reference to deprecated members (we do this because otherwise we have
24-
# to annotate every member in every test, assert, etc, when we deprecate something)
23+
# allow deprecated members (we do this because otherwise we have to annotate
24+
# every member in every test, assert, etc, when we or the Dart SDK deprecates
25+
# something (https://github.com/flutter/flutter/issues/143312)
26+
deprecated_member_use: ignore
2527
deprecated_member_use_from_same_package: ignore
2628
exclude:
2729
- "bin/cache/**"

0 commit comments

Comments
 (0)