From 801cea545df3bb00b138ff1f22d6b26ed67aaa25 Mon Sep 17 00:00:00 2001 From: pq Date: Wed, 28 Nov 2018 00:19:52 +0000 Subject: [PATCH] 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 Commit-Queue: Phil Quitslund --- CHANGELOG.md | 12 ++++++++++++ DEPS | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c54a4840ec..bf899aedc8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/DEPS b/DEPS index b83815d78d2..bccc28f68bf 100644 --- a/DEPS +++ b/DEPS @@ -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",