Skip to content

Commit

Permalink
Allow deprecated members from the Dart SDK and Flutter Engine to roll…
Browse files Browse the repository at this point in the history
… in (#143347)

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

See flutter/flutter#143312.
  • Loading branch information
matanlurey authored Feb 13, 2024
1 parent 8ba086a commit a628814
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,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:
- "bin/cache/**"
Expand Down

0 comments on commit a628814

Please sign in to comment.