Skip to content

Commit

Permalink
Allow deprecated members from the Dart SDK/Flutter Framework to roll …
Browse files Browse the repository at this point in the history
…in (flutter#6111)

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

See flutter/flutter#143312.
  • Loading branch information
matanlurey committed Feb 14, 2024
1 parent 8c263ef commit a864254
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 @@ -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
Expand Down

0 comments on commit a864254

Please sign in to comment.