From 195074fee6f98f4dddd596508e1872bd438431b7 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Fri, 24 Sep 2021 11:47:59 +0200 Subject: [PATCH] Mention `dart:async` `unawaited` For people migrating from `pedantic`, point them to the new `unawaited` in `dart_async`. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 8cebaaa..2748bc6 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,11 @@ predefined lint sets provided by the lints package: [`package:flutter_lints`]). To keep any of these lints enabled, add them to your [analysis options][customizing static analysis]. +Additionally, `package:pedantic` provides the `unawaited` method for use with +`unawaited_futures`. With SDK version 2.14 this method is available in the +`dart:async` package, and this is now the recommended way to use it. Be sure to +mark the minimum SDK version of your package as `2.14` if you do so. + ## Evolving the lint sets The Dart language changes and the ecosystem continues to develop new best