[License] Enable prefer_void_to_null lint

This commit is contained in:
Chris Bracken
2018-12-20 12:14:38 -08:00
parent 41ac8b88ec
commit dcdbeeba3e
2 changed files with 2 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ linter:
- prefer_final_locals
- prefer_is_not_empty
- prefer_single_quotes
- prefer_void_to_null
- slash_for_doc_comments
- sort_constructors_first
- sort_unnamed_constructors_first

View File

@@ -2260,7 +2260,7 @@ Future<void> _collectLicensesForComponent(_RepositoryDirectory componentRoot, {
// MAIN
Future<Null> main(List<String> arguments) async {
Future<void> main(List<String> arguments) async {
final ArgParser parser = ArgParser()
..addOption('src', help: 'The root of the engine source')
..addOption('out', help: 'The directory where output is written')