Skip to content

Commit f1b81e9

Browse files
authored
Replace deprecated strong-mode options (#21)
Updates to match the new [analysis language options](https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks) also used in [`flutter/flutter`](https://github.com/flutter/flutter/blob/master/analysis_options.yaml). Issue reference: dart-lang/sdk#50679
1 parent 147a88f commit f1b81e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scroll_overlay/analysis_option.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
#
33
# Copied over from flutter/flutter repo.
44
analyzer:
5-
strong-mode:
6-
implicit-dynamic: false
5+
language:
6+
strict-casts: true
7+
strict-raw-types: true
78
errors:
89
# treat missing required parameters as a warning (not a hint)
910
missing_required_param: warning

0 commit comments

Comments
 (0)