mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 00:09:20 +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:
parent
0d000e85d6
commit
217e96c22a
|
@ -246,6 +246,10 @@ Updates the Linter to `1.34.0-dev`, which includes changes that
|
||||||
typed targets.
|
typed targets.
|
||||||
- add new lint: `deprecated_member_use_from_same_package` which replaces the
|
- add new lint: `deprecated_member_use_from_same_package` which replaces the
|
||||||
soft-deprecated analyzer hint of the same name.
|
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
|
#### Migration tool removal
|
||||||
|
|
||||||
|
|
2
DEPS
2
DEPS
|
@ -145,7 +145,7 @@ vars = {
|
||||||
"http_parser_rev": "b3b283b9f139640b932d604e8815460bbd3ecab5",
|
"http_parser_rev": "b3b283b9f139640b932d604e8815460bbd3ecab5",
|
||||||
"intl_rev": "fca552f2ec5d682b5fa36f02bdd72a5a4e2edcee",
|
"intl_rev": "fca552f2ec5d682b5fa36f02bdd72a5a4e2edcee",
|
||||||
"json_rpc_2_rev": "0280ac6cb4f3905d81c47ba927123ba2b95f7940",
|
"json_rpc_2_rev": "0280ac6cb4f3905d81c47ba927123ba2b95f7940",
|
||||||
"linter_rev": "3049702a520e9ca2bf143dc907826d83099a9012", # disable rev_sdk_deps.dart
|
"linter_rev": "e80471506fa05b097a2657e46a033effb81d975a", # disable rev_sdk_deps.dart
|
||||||
"lints_rev": "dfded5e265015f21ce154577fe8488dc244e33c2",
|
"lints_rev": "dfded5e265015f21ce154577fe8488dc244e33c2",
|
||||||
"logging_rev": "abef3717d958158eb8b0ddb2871f4b15a9804cd4",
|
"logging_rev": "abef3717d958158eb8b0ddb2871f4b15a9804cd4",
|
||||||
"markdown_rev": "ecbffa9bf9109d490b9388e9cb1f2bb801aee63c",
|
"markdown_rev": "ecbffa9bf9109d490b9388e9cb1f2bb801aee63c",
|
||||||
|
|
|
@ -1671,6 +1671,10 @@ LintCode.implementation_imports:
|
||||||
status: needsEvaluation
|
status: needsEvaluation
|
||||||
LintCode.implicit_call_tearoffs:
|
LintCode.implicit_call_tearoffs:
|
||||||
status: hasFix
|
status: hasFix
|
||||||
|
LintCode.implicit_reopen:
|
||||||
|
status: needsFix
|
||||||
|
notes: |-
|
||||||
|
The correction is to add `@reopen`.
|
||||||
LintCode.invalid_case_patterns:
|
LintCode.invalid_case_patterns:
|
||||||
status: hasFix
|
status: hasFix
|
||||||
LintCode.invariant_booleans:
|
LintCode.invariant_booleans:
|
||||||
|
@ -1862,6 +1866,8 @@ LintCode.type_annotate_public_apis:
|
||||||
status: hasFix
|
status: hasFix
|
||||||
LintCode.type_init_formals:
|
LintCode.type_init_formals:
|
||||||
status: hasFix
|
status: hasFix
|
||||||
|
LintCode.type_literal_in_constant_pattern:
|
||||||
|
status: needsEvaluation
|
||||||
LintCode.unawaited_futures:
|
LintCode.unawaited_futures:
|
||||||
status: hasFix
|
status: hasFix
|
||||||
LintCode.unnecessary_await_in_return:
|
LintCode.unnecessary_await_in_return:
|
||||||
|
|
Loading…
Reference in a new issue