linter 0.1.116

Change-Id: I76b96981ee32e5beb3445d1584105f7b4b6fc631
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148640
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: David Morgan <davidmorgan@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
pq 2020-05-25 23:41:29 +00:00 committed by commit-bot@chromium.org
parent 32ab4205e3
commit fb3ed85af4
2 changed files with 9 additions and 3 deletions

View file

@ -61,9 +61,15 @@
#### Linter
Updated the Linter to `0.1.115`, which includes:
Updated the Linter to `0.1.116`, which includes:
* Updated `avoid_types_as_parameter_names` to check catch-clauses.
* New lint: `no_default_cases` (experimental).
* New lint: `exhaustive_cases`.
* Updated `type_annotate_public_apis` to allow inferred types in final field assignments.
* Updated `prefer_mixin` to allow "legacy" SDK abstract class mixins.
* New lint: `use_is_even_rather_than_modulo`.
* Updated `unsafe_html` to use a `SecurityLintCode` (making it un-ignorable).
* Improved `sized_box_for_whitespace` to address false-positives.
* Fixed `unsafe_html` to check attributes and methods on extensions.
* Extended `unsafe_html` to include `Window.open`, `Element.html` and
`DocumentFragment.html` in unsafe API checks.

2
DEPS
View file

@ -106,7 +106,7 @@ vars = {
"intl_tag": "0.16.1",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_tag": "d589e635d8ccb7cda6a804bd571f88abbabab146",
"linter_tag": "0.1.115",
"linter_tag": "0.1.116",
"logging_tag": "9561ba016ae607747ae69b846c0e10958ca58ed4",
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
"markdown_tag": "dd150bb64c5f3b41d31f20f399ae2a855f7f8c00",