From fc03431d441cd960cd37bc362446ba2f37bf79d0 Mon Sep 17 00:00:00 2001 From: pq Date: Tue, 13 Apr 2021 23:10:38 +0000 Subject: [PATCH] linter 1.3.0 Change-Id: Iac54e6cb25445d8e3d03f6575d2b821051442f48 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195052 Reviewed-by: Brian Wilkerson Commit-Queue: Phil Quitslund --- CHANGELOG.md | 15 +++++++++++++++ DEPS | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d627fa92bd0..7c2e449ef4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,21 @@ daylight saving changes that are not precisely one hour. (No change on the Web which uses the JavaScript `Date` object.) + +### Tools + +#### Linter + +Updated the Linter to `1.3.0`, which includes: + +- 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 + splitting easier. +- new lint: `require_trailing_commas`. +- new lint: `prefer_null_aware_method_calls`. + + ## 2.13.0 ### Language diff --git a/DEPS b/DEPS index 2f591005b4f..86b73ebf829 100644 --- a/DEPS +++ b/DEPS @@ -119,7 +119,7 @@ vars = { "intl_tag": "0.17.0-nullsafety", "jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1", "json_rpc_2_rev": "b8dfe403fd8528fd14399dee3a6527b55802dd4d", - "linter_tag": "1.2.1", + "linter_tag": "1.3.0", "logging_rev": "e2f633b543ef89c54688554b15ca3d7e425b86a2", "markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783", "markdown_rev": "9c4beaac96d8f008078e00b027915f81b665d2de",