Skip to content

Commit bd10aba

Browse files
authored
Mention dart:async unawaited (dart-archive/lints#53)
For people migrating from `pedantic`, point them to the new `unawaited` in `dart_async`.
1 parent 9619bfe commit bd10aba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/lints/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ predefined lint sets provided by the lints package:
7373
[`package:flutter_lints`]). To keep any of these lints enabled,
7474
add them to your [analysis options][customizing static analysis].
7575
76+
Additionally, `package:pedantic` provides the `unawaited` method for use with
77+
`unawaited_futures`. With SDK version 2.14 this method is available in the
78+
`dart:async` package, and this is now the recommended way to use it. Be sure to
79+
mark the minimum SDK version of your package as `2.14` if you do so.
80+
7681
## Evolving the lint sets
7782
7883
The Dart language changes and the ecosystem continues to develop new best

0 commit comments

Comments
 (0)