diff --git a/CHANGELOG.md b/CHANGELOG.md index 64f1a6ad60e..2b45903862a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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?` to parameters typed `FutureOr?`. - 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 diff --git a/DEPS b/DEPS index a79b49ae2d0..7603364c2aa 100644 --- a/DEPS +++ b/DEPS @@ -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",