Skip to content

Commit

Permalink
mention line wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryaBelanger committed Jan 29, 2025
1 parent 33c3242 commit af472b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/content/tools/dart-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit af472b8

Please sign in to comment.