From af472b8099ee2c3a628877d8f9009a8a737c485e Mon Sep 17 00:00:00 2001 From: Marya Belanger Date: Wed, 29 Jan 2025 11:38:11 -0800 Subject: [PATCH] mention line wrapping --- src/content/tools/dart-format.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/tools/dart-format.md b/src/content/tools/dart-format.md index bab7bbeb90..d3fb4bb943 100644 --- a/src/content/tools/dart-format.md +++ b/src/content/tools/dart-format.md @@ -66,9 +66,10 @@ so they can trigger another action in response to the exit code. $ dart format -o none --set-exit-if-changed bin/my_app.dart ``` -## Whitespace and commas +## What changes? `dart format` removes whitespace, +wraps every line to 80 characters long or shorter, adds trailing commas to any argument or parameter list that splits across multiple lines and removes them from ones that don't, and may move comments before or after a comma.