diff --git a/CHANGELOG.md b/CHANGELOG.md index 758e34e04a1..58a915d2ffb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/DEPS b/DEPS index 5a5a7ac95d5..f268a5cb628 100644 --- a/DEPS +++ b/DEPS @@ -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", diff --git a/pkg/analysis_server/lib/src/services/correction/error_fix_status.yaml b/pkg/analysis_server/lib/src/services/correction/error_fix_status.yaml index c9a8b59bcef..ddb93c0aa3f 100644 --- a/pkg/analysis_server/lib/src/services/correction/error_fix_status.yaml +++ b/pkg/analysis_server/lib/src/services/correction/error_fix_status.yaml @@ -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: