@@ -115,7 +115,7 @@ linter:
115115
116116 # Don't call print in production code
117117 # https://dart-lang.github.io/linter/lints/avoid_print.html
118- # dart 2.3 incompatible
118+ # dart 2.4 incompatible
119119 # - avoid_print
120120
121121 # Always prefer function references over typedefs.
@@ -467,8 +467,7 @@ linter:
467467
468468 # Dart has a special operator for this, use it
469469 # https://dart-lang.github.io/linter/lints/prefer_if_null_operators.html
470- # dart 2.3 incompatible
471- # - prefer_if_null_operators
470+ - prefer_if_null_operators
472471
473472 # Terser code
474473 # https://dart-lang.github.io/linter/lints/prefer_initializing_formals.html
@@ -541,8 +540,7 @@ linter:
541540
542541 # Flutter only, always put child last
543542 # https://dart-lang.github.io/linter/lints/sort_child_properties_last.html
544- # dart 2.3 incompatible
545- # - sort_child_properties_last
543+ - sort_child_properties_last
546544
547545 # Might not be perfect but results in consistent code
548546 # https://dart-lang.github.io/linter/lints/sort_constructors_first.html
@@ -644,8 +642,7 @@ linter:
644642
645643 # Web only
646644 # https://dart-lang.github.io/linter/lints/unsafe_html.html
647- # dart 2.3 incompatible
648- # - unsafe_html
645+ - unsafe_html
649646
650647 # Use rethrow to preserve the original stacktrace.
651648 # https://dart.dev/guides/language/effective-dart/usage#do-use-rethrow-to-rethrow-a-caught-exception
0 commit comments