bump to linter 1.24.0

(I did a `find_violations` run internally against cl/449544481 and all clear 🟢.)

Change-Id: I2375a42244902ee2da515417cb463f74d9949387
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/245224
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
pq 2022-05-19 00:20:30 +00:00 committed by Commit Bot
parent 2490f2bdf9
commit 5ee3a6f07a
3 changed files with 13 additions and 2 deletions

View file

@ -15,8 +15,15 @@
#### Linter
Updated the Linter to `1.23.0`, which includes changes that
Updated the Linter to `1.24.0`, which includes changes that
- fixes `prefer_final_parameters` to support super parameters.
- adds new lint: `unnecessary_to_list_in_spreads`.
- fixes `unawaited_futures` to handle string interpolated
futures.
- updates `use_colored_box` to not flag nullable colors,
- adds new lint:
`unnecessary_null_aware_operator_on_extension_on_nullable`.
- fixes `no_leading_underscores_for_local_identifiers`
to lint local function declarations.
- fixes `avoid_init_to_null` to correctly handle super

2
DEPS
View file

@ -121,7 +121,7 @@ vars = {
"intl_rev": "9145f308f1458f37630a1ffce3b7d3b471ebbc56",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_rev": "7e00f893440a72de0637970325e4ea44bd1e8c8e",
"linter_rev": "4305b933c8ed0275f26a99bd1ade39fe9130e6a5", # 1.23.0
"linter_rev": "a8529c6692922b45bc287543b355c90d7b1286d3", # 1.24.0
"lints_rev": "8294e5648ab49474541527e2911e72e4c5aefe55",
"logging_rev": "dfbe88b890c3b4f7bc06da5a7b3b43e9e263b688",
"markdown_rev": "7479783f0493f6717e1d7ae31cb37d39a91026b2",

View file

@ -1842,6 +1842,8 @@ LintCode.unnecessary_new:
status: hasFix
LintCode.unnecessary_null_aware_assignments:
status: hasFix
LintCode.unnecessary_null_aware_operator_on_extension_on_nullable:
status: needsEvaluation
LintCode.unnecessary_null_checks:
status: needsEvaluation
LintCode.unnecessary_null_in_if_null_operators:
@ -1862,6 +1864,8 @@ LintCode.unnecessary_string_interpolations:
status: hasFix
LintCode.unnecessary_this:
status: hasFix
LintCode.unnecessary_to_list_in_spreads:
status: needsEvaluation
LintCode.unrelated_type_equality_checks:
status: needsEvaluation
LintCode.unsafe_html_attribute: