1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-05 09:20:04 +00:00

linter 0.1.73

# 0.1.73

* deprecated `prefer_bool_in_asserts` (redundant w/ Dart 2 checks)
* improved doc generation to highlight deprecated and experimental lints
* bumped analyzer lower-bound to `0.33.4`
* bumped SDK lower-bound to `2.1.0`
* new lint: `unnecessary_await_in_return`


Change-Id: I00bf626029d8e1290193e3e83a9894f175046048
Reviewed-on: https://dart-review.googlesource.com/c/85425
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
pq 2018-11-28 00:19:52 +00:00 committed by commit-bot@chromium.org
parent 44a9d0a0d6
commit 801cea545d
2 changed files with 13 additions and 1 deletions

View File

@ -12,6 +12,18 @@
#### Pub
#### Linter
The linter was bumped to `0.1.73` which introduces the following new lints to the SDK:
* `unnecessary_await_in_return`
* `use_function_type_syntax_for_parameters`
* `avoid_returning_null_for_future`
* `avoid_shadowing_type_parameters`
In addition, `prefer_bool_in_asserts` has been deprecated as its semantics are
redundant with Dart 2 checks.
#### Other Tools
## 2.2.0-dev.0.0

2
DEPS
View File

@ -95,7 +95,7 @@ vars = {
"intl_tag": "0.15.7",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_tag": "2.0.9",
"linter_tag": "0.1.71",
"linter_tag": "0.1.73",
"logging_tag": "0.11.3+2",
"markdown_tag": "2.0.2",
"matcher_tag": "0.12.3",