From 17644eea3905ca97ff4a22d1ac6f1ecfea549b66 Mon Sep 17 00:00:00 2001 From: pq Date: Thu, 22 Apr 2021 20:41:26 +0000 Subject: [PATCH] linter 1.4.0 Mitigating PRs: https://dart-review.googlesource.com/c/sdk/+/196223 https://dart-review.googlesource.com/c/sdk/+/196180 https://github.com/flutter/flutter/pull/80817 https://github.com/flutter/flutter/pull/80901 Change-Id: Ib916d541076e24b9e8db1d6120dbc043d9e40b87 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196026 Commit-Queue: Phil Quitslund Reviewed-by: Brian Wilkerson --- CHANGELOG.md | 8 +++++++- DEPS | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbc15dc0b66..7bf5a3a5e08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,8 +27,14 @@ #### Linter -Updated the Linter to `1.3.0`, which includes: +Updated the Linter to `1.4.0`, which includes: +- `directives_ordering` now checks ordering of `package:` imports in code + outside pub packages. +- simple reachability analysis added to `use_build_context_synchronously` to + short-circuit await-discovery in terminating blocks. +- `use_build_context_synchronously` updated to recognize nullable types when + accessed from legacy libraries. - updated `non_constant_identifier_names` to check local variables, for-loop initializers and catch clauses. - updated error range of `lines_longer_than_80_chars` to start at 80 to make diff --git a/DEPS b/DEPS index 6d47b790b0f..e9ac9725fa9 100644 --- a/DEPS +++ b/DEPS @@ -124,7 +124,7 @@ vars = { "intl_tag": "0.17.0-nullsafety", "jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1", "json_rpc_2_rev": "b8dfe403fd8528fd14399dee3a6527b55802dd4d", - "linter_tag": "1.3.0", + "linter_tag": "1.4.0", "logging_rev": "e2f633b543ef89c54688554b15ca3d7e425b86a2", "markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783", "markdown_rev": "9c4beaac96d8f008078e00b027915f81b665d2de",