linter 1.9.0

Change-Id: Id833d90a90caefe7578451f6086828fd33002529
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209765
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
pq 2021-08-11 23:05:13 +00:00 committed by commit-bot@chromium.org
parent e3058884b0
commit c22a170429
2 changed files with 18 additions and 3 deletions

View file

@ -161,9 +161,24 @@
#### Linter
Updated the Linter to `1.8.0`, which includes changes that
Updated the Linter to `1.9.0`, which includes changes that
- marks `avoid_dynamic_calls` stable.
- (internal) removes unused `MockPubVisitor` and `MockRule` classes.
- fixes a `prefer_void_to_null` false positive w/ overridden properties.
- (internal) removes references to `NodeLintRule` in lint rule declarations.
- fixes `prefer_void_to_null` false positives on overriding returns.
- fixes `prefer_generic_function_type_aliases` false positives w/ incomplete
statements.
- fixes false positives for `prefer_initializing_formals` with factory constructors.
- fixes `void_checks` false positives with incomplete source.
- updates `unnecessary_getters_setters` to only flag the getter.
- improves messages for `avoid_renaming_method_parameters`.
- fixes false positives in `prefer_void_to_null`.
- fixes false positives in `omit_local_variable_types`.
- fixes false positives in `use_rethrow_when_possible`.
- improves performance for `annotate_overrides`, `prefer_contains`, and
`prefer_void_to_null`.
- improve performance for `prefer_is_not_empty`.
- fix false positives in `no_logic_in_create_state`.
- improve `package_names` to allow dart identifiers as package names.

2
DEPS
View file

@ -124,7 +124,7 @@ vars = {
"intl_tag": "0.17.0-nullsafety",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_rev": "7e00f893440a72de0637970325e4ea44bd1e8c8e",
"linter_tag": "1.8.0",
"linter_tag": "1.9.0",
"lints_tag": "f9670df2a66e0ec12eb51554e70c1cbf56c8f5d0",
"logging_rev": "575781ef196e4fed4fb737e38fb4b73d62727187",
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",