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

Bump linter to e80471506fa05b097a2657e46a033effb81d975a

This includes fixes to refer to `WarningCodes` by the name
`WarningCode`, which will fix google3 tests.

Change-Id: Ic56775a4b1b03acd89962d55e1ce98304501b900
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/291360
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
Sam Rawlins 2023-03-28 00:41:31 +00:00 committed by Commit Queue
parent 0d000e85d6
commit 217e96c22a
3 changed files with 11 additions and 1 deletions

View File

@ -246,6 +246,10 @@ Updates the Linter to `1.34.0-dev`, which includes changes that
typed targets.
- 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": "fca552f2ec5d682b5fa36f02bdd72a5a4e2edcee",
"json_rpc_2_rev": "0280ac6cb4f3905d81c47ba927123ba2b95f7940",
"linter_rev": "3049702a520e9ca2bf143dc907826d83099a9012", # disable rev_sdk_deps.dart
"linter_rev": "e80471506fa05b097a2657e46a033effb81d975a", # disable rev_sdk_deps.dart
"lints_rev": "dfded5e265015f21ce154577fe8488dc244e33c2",
"logging_rev": "abef3717d958158eb8b0ddb2871f4b15a9804cd4",
"markdown_rev": "ecbffa9bf9109d490b9388e9cb1f2bb801aee63c",

View File

@ -1671,6 +1671,10 @@ LintCode.implementation_imports:
status: needsEvaluation
LintCode.implicit_call_tearoffs:
status: hasFix
LintCode.implicit_reopen:
status: needsFix
notes: |-
The correction is to add `@reopen`.
LintCode.invalid_case_patterns:
status: hasFix
LintCode.invariant_booleans:
@ -1862,6 +1866,8 @@ LintCode.type_annotate_public_apis:
status: hasFix
LintCode.type_init_formals:
status: hasFix
LintCode.type_literal_in_constant_pattern:
status: needsEvaluation
LintCode.unawaited_futures:
status: hasFix
LintCode.unnecessary_await_in_return: