1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-03 00:08:46 +00:00

linter 1.12.0

Change-Id: I1dd5a8b56144ce48d38eea0d1ef64e5f7a983552
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213841
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
pq 2021-09-20 18:32:11 +00:00 committed by commit-bot@chromium.org
parent 552573ac93
commit f1824fb1e7
2 changed files with 5 additions and 2 deletions

View File

@ -101,7 +101,10 @@
#### Linter
Updated the Linter to `1.11.0`, which includes changes that
Updated the Linter to `1.12.0`, which includes changes that
- 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.
- adds support for constructor tear-offs to `avoid_redundant_argument_values`,
`unnecessary_lambdas`, and `unnecessary_parenthesis`.
- adds a new lint: `unnecessary_constructor_name` to flag unnecessary uses of

2
DEPS
View File

@ -121,7 +121,7 @@ vars = {
"intl_tag": "0.17.0-nullsafety",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_rev": "7e00f893440a72de0637970325e4ea44bd1e8c8e",
"linter_tag": "1.11.0",
"linter_tag": "1.12.0",
"lints_tag": "f9670df2a66e0ec12eb51554e70c1cbf56c8f5d0",
"logging_rev": "575781ef196e4fed4fb737e38fb4b73d62727187",
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",