Improve the changelog entry for linter

- Order items to make them more parsable
- Remove items that won't affect SDK users
- Consolidated entries

Change-Id: I855b81f22377d55aa19b12decef95a58f211fd94
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150800
Auto-Submit: Kevin Moore <kevmoo@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
Kevin Moore 2020-06-11 18:44:11 +00:00 committed by commit-bot@chromium.org
parent 6a36dbad2e
commit eb21b006ac

View file

@ -70,24 +70,22 @@
Updated the Linter to `0.1.117`, which includes:
* Fixed `directives_ordering` to remove third party package special-casing.
* Fixed `unnecessary_lambdas` to check for tearoff assignability.
* Fixed `prefer_is_empty` to special-case assert initializers and const contexts.
* Test utilities moved to: `lib/src/test_utilities`.
* New lint: `do_not_use_environment`.
* 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.
* Improved docs for `sort_child_properties_last`.
* (internal) `package:analyzer` API updates.
* New lint: `no_default_cases` (experimental).
* New lint: `sized_box_for_whitespace`.
* New lint: `use_is_even_rather_than_modulo`.
* Updated `directives_ordering` to remove third party package special-casing.
* Updated `prefer_is_empty` to special-case assert initializers and const
contexts.
* Updated `prefer_mixin` to allow "legacy" SDK abstract class mixins.
* Updated `sized_box_for_whitespace` to address false-positives.
* Updated `type_annotate_public_apis` to allow inferred types in final field
assignments.
* Updated `unnecessary_lambdas` to check for tear-off assignability.
* Updated `unsafe_html` to use a `SecurityLintCode` (making it un-ignorable) and
to include `Window.open`, `Element.html` and `DocumentFragment.html` in unsafe
API checks. Also added checks for attributes and methods on extensions.
### Dart VM