linter 1.35.0

Change-Id: Ic47ce4740cfd17a7fa774c3b63f911c7f074e588
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/292940
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
pq 2023-04-03 23:57:03 +00:00 committed by Commit Queue
parent 6f1d0e5afa
commit 3fdca4b605
2 changed files with 8 additions and 6 deletions

View file

@ -248,9 +248,14 @@ information on the flag, see [NATIVE_NULL_ASSERTIONS.md][].
#### Linter
Updates the Linter to `1.34.0-dev`, which includes changes that
Updates the Linter to `1.35.0`, which includes changes that
- add new lint: `unnecessary_breaks`.
- add new lints:
- `explicit_reopen`
- `unnecessary_breaks`
- `type_literal_in_constant_pattern`
- `invalid_case_patterns`
- update existing lints to support patterns and class modifiers
- remove support for:
- `enable_null_safety`
- `invariant_booleans`
@ -275,7 +280,6 @@ Updates the Linter to `1.34.0-dev`, which includes changes that
- update `use_build_context_synchronously` to check context properties.
- 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.
@ -290,8 +294,6 @@ Updates the Linter to `1.34.0-dev`, which includes changes that
- add new lint: `deprecated_member_use_from_same_package` which replaces the
soft-deprecated analyzer hint of the same name.
- update `public_member_api_docs` to not require docs on enum constructors.
- add new lint: `implicit_reopen`.
- add new lint: `type_literal_in_constant_pattern`.
- update `prefer_void_to_null` to not report on as-expressions.
#### Migration tool removal

2
DEPS
View file

@ -145,7 +145,7 @@ vars = {
"http_parser_rev": "b3b283b9f139640b932d604e8815460bbd3ecab5",
"intl_rev": "a958db01c90d041f0cd357d1732ae9813b620ee0",
"json_rpc_2_rev": "aea3bea2d2be0113593a5c813d2ed3d2362200b6",
"linter_rev": "9a586c9deeb53177a02b37807b0f792893092cae", # disable rev_sdk_deps.dart
"linter_rev": "b56190503725de2125b626ff1b3423192fa1f7ae", # disable rev_sdk_deps.dart
"lints_rev": "f09399a2574eb4e3f485881cf977fca72628f443",
"logging_rev": "abef3717d958158eb8b0ddb2871f4b15a9804cd4",
"markdown_rev": "d437c85188806fe2bfa4f3616159300ba9dc6d2a",