From d9b3a7c3bd5d5b4973581648a3b773ce6e82d262 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Wed, 11 Dec 2024 12:59:48 -0800 Subject: [PATCH] [DO NOT SUBMIT] turn on dartfmt checking by default --- ci/bin/format.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/bin/format.dart b/ci/bin/format.dart index 5f4c94b3345b3..09e3fbb9e6cb9 100644 --- a/ci/bin/format.dart +++ b/ci/bin/format.dart @@ -1283,8 +1283,7 @@ Future main(List arguments) async { parser.addMultiOption('check', abbr: 'c', allowed: formatCheckNames(), - // TODO(goderbauer): Enable dart by default when we turned on the formatter. - defaultsTo: formatCheckNames()..remove(FormatCheck.dart.name), + defaultsTo: formatCheckNames(), help: 'Specifies which checks will be performed. Defaults to all checks. ' 'May be specified more than once to perform multiple types of checks. '); parser.addFlag('verbose', help: 'Print verbose output.', defaultsTo: verbose);