From 53a3080c25801bfc71cec2f5e4f25fa27a02537d Mon Sep 17 00:00:00 2001 From: pq Date: Thu, 14 Oct 2021 12:07:52 +0000 Subject: [PATCH] linter 1.13.0 NOTE: this release introduces a new dependency on `test_reflective_loader`; the SDK roll that picks this up will need to update the linter's `dart_vm_test` target in `third_party/dart/linter/BUILD` to include it. Change-Id: Ica8e200d333a2574abefa3c56df1153869259adc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/216263 Commit-Queue: Phil Quitslund Reviewed-by: Brian Wilkerson --- CHANGELOG.md | 7 ++++++- DEPS | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2680c5519fd..1ed45f0bb63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -469,7 +469,12 @@ #### Linter -Updated the Linter to `1.12.0`, which includes changes that +Updated the Linter to `1.13.0`, which includes changes that +- allow `while (true) { ... }` in `literal_only_boolean_expressions`. +- fix `file_names` to report at the start of the file (not the entire + compilation unit). +- fix `prefer_collection_literals` named typed parameter false positives. +- improve control flow analysis for `use_build_context_synchronously`. - update `avoid_print` to allow `kDebugMode`-wrapped print calls. - fix handling of initializing formals in `prefer_final_parameters`. - fix `unnecessary_parenthesis` false positive with function expressions. diff --git a/DEPS b/DEPS index ec82ec12f9f..af0e07ece77 100644 --- a/DEPS +++ b/DEPS @@ -122,7 +122,7 @@ vars = { "intl_tag": "0.17.0-nullsafety", "jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1", "json_rpc_2_rev": "7e00f893440a72de0637970325e4ea44bd1e8c8e", - "linter_tag": "1.12.0", + "linter_tag": "1.13.0", "lints_tag": "f9670df2a66e0ec12eb51554e70c1cbf56c8f5d0", "logging_rev": "575781ef196e4fed4fb737e38fb4b73d62727187", "markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",