very_good_analysis 2.3.0 very_good_analysis: ^2.3.0 copied to clipboard
Lint rules for Dart and Flutter used internally at Very Good Ventures.
import 'package:very_good_analysis/very_good_analysis.dart';
Future<void> main() async {
/// Await async functions.
await asyncFunction();
/// Use [unawaited] to indicate that a [Future] is intentionally not awaited.
/// Otherwise you'll get a warning
unawaited(asyncFunction());
}
Future<String> asyncFunction() {
return Future.value('hello world!');
}