From eb21b006acd6fc7ee7c32a6caf83f96e9dc7090c Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Thu, 11 Jun 2020 18:44:11 +0000 Subject: [PATCH] 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 Reviewed-by: Phil Quitslund Commit-Queue: Phil Quitslund --- CHANGELOG.md | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e71ba8fabb5..b58c4a0b64b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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