Roll dart_style 2.0.2 into SDK.

Change-Id: Ie221a1138ee66f820fe5c0f3fe4c911fd9626c31
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205941
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: William Hesse <whesse@google.com>
This commit is contained in:
Robert Nystrom 2021-07-08 23:50:53 +00:00 committed by commit-bot@chromium.org
parent 7aa46618ae
commit 7804da29be
2 changed files with 9 additions and 1 deletions

View file

@ -105,6 +105,14 @@
* The `dartanalyzer` command's JSON output mode has been changed to emit the JSON
output on stdout instead of stderr.
#### dart format
* Simplify and optimize cascade formatting.
See: https://github.com/dart-lang/dart_style/pull/1033
* Don't unnecessarily split argument lists with `/* */` comments.
* Return correct exit code from `FormatCommand` when formatting stdin.
* Split empty catch blocks with finally clauses or catches after them.
#### Linter
Updated the Linter to `1.7.0`, which includes changes that

2
DEPS
View file

@ -103,7 +103,7 @@ vars = {
# and land the review.
#
# For more details, see https://github.com/dart-lang/sdk/issues/30164
"dart_style_rev": "f17c23e0eea9a870601c19d904e2a9c1a7c81470",
"dart_style_rev": "0fe592042eda5d9eea6fc240a8ee0fe531bb0794",
"dartdoc_rev" : "c9621b92c738ec21a348cc2de032858276e9c774",
"devtools_rev" : "64cffbed6366329ad05e44d48fa2298367643bb6",