Bump linter to 85d62c18e2a353abd4905aaf86e05dd1fc9d7b9a

Brings in support for https://github.com/dart-lang/sdk/issues/50796

Change-Id: Ifd6f20760e0cb8e1a4090e0f36d9a0d68d867f76
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/283401
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Auto-Submit: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
Sam Rawlins 2023-02-16 23:19:10 +00:00 committed by Commit Queue
parent b840922ca5
commit 4e614d299c
2 changed files with 12 additions and 5 deletions

View file

@ -139,7 +139,7 @@
#### Linter
Updates the Linter to `1.33.0`, which includes changes that
Updates the Linter to `1.34.0-dev`, which includes changes that
- add new lint: `unnecessary_breaks`.
- remove support for:
@ -152,17 +152,24 @@ Updates the Linter to `1.33.0`, which includes changes that
- fix `void_checks` to allow assignments of `Future<dynamic>?` to parameters
typed `FutureOr<void>?`.
- fix `use_build_context_synchronously` in if conditions.
- fix a false positive for `avoid_private_typedef_functions` with generalized type aliases.
- fix a false positive for `avoid_private_typedef_functions` with generalized
type aliases.
- update `unnecessary_parenthesis` to detect some doubled parens.
- update `void_checks` to allow returning `Never` as void.
- update `no_adjacent_strings_in_list` to support set literals and for- and
if-elements.
- update `avoid_types_as_parameter_names` to handle type variables.
- update `avoid_positional_boolean_parameters` to handle typedefs.
- update `avoid_redundant_argument_values` to check parameters of redirecting constructors.
- update `avoid_redundant_argument_values` to check parameters of redirecting
constructors.
- improve performance for `prefer_const_literals_to_create_immutables`.
- update `use_build_context_synchronously` to check context properties.
- improve `unnecessary_parenthesis` support for property accesses and method invocations.
- improve `unnecessary_parenthesis` support for property accesses and method
invocations.
- add new lint: `invalid_case_patterns`.
- update `unnecessary_parenthesis` to allow parentheses in more null-aware
cascade contexts.
- update `unreachable_from_main` to track static elements.
#### Migration tool removal

2
DEPS
View file

@ -146,7 +146,7 @@ vars = {
"http_parser_rev": "b3b283b9f139640b932d604e8815460bbd3ecab5",
"intl_rev": "fca552f2ec5d682b5fa36f02bdd72a5a4e2edcee",
"json_rpc_2_rev": "0280ac6cb4f3905d81c47ba927123ba2b95f7940",
"linter_rev": "2a32d3f04394d02b80c53a460363b5ad4c413301", # 1.33.0 (+ `invalid_case_patterns`)
"linter_rev": "85d62c18e2a353abd4905aaf86e05dd1fc9d7b9a", # 1.34.0-dev
"lints_rev": "dfded5e265015f21ce154577fe8488dc244e33c2",
"logging_rev": "abef3717d958158eb8b0ddb2871f4b15a9804cd4",
"markdown_rev": "f51c24c5c5603ac20b6d88aded78ef3aa23619ac",