|
70 | 70 |
|
71 | 71 | Updated the Linter to `0.1.117`, which includes: |
72 | 72 |
|
73 | | -* Fixed `directives_ordering` to remove third party package special-casing. |
74 | | -* Fixed `unnecessary_lambdas` to check for tearoff assignability. |
75 | | -* Fixed `prefer_is_empty` to special-case assert initializers and const contexts. |
76 | | -* Test utilities moved to: `lib/src/test_utilities`. |
77 | 73 | * New lint: `do_not_use_environment`. |
78 | | -* New lint: `no_default_cases` (experimental). |
79 | 74 | * New lint: `exhaustive_cases`. |
80 | | -* Updated `type_annotate_public_apis` to allow inferred types in final field assignments. |
81 | | -* Updated `prefer_mixin` to allow "legacy" SDK abstract class mixins. |
82 | | -* New lint: `use_is_even_rather_than_modulo`. |
83 | | -* Updated `unsafe_html` to use a `SecurityLintCode` (making it un-ignorable). |
84 | | -* Improved `sized_box_for_whitespace` to address false-positives. |
85 | | -* Fixed `unsafe_html` to check attributes and methods on extensions. |
86 | | -* Extended `unsafe_html` to include `Window.open`, `Element.html` and |
87 | | - `DocumentFragment.html` in unsafe API checks. |
88 | | -* Improved docs for `sort_child_properties_last`. |
89 | | -* (internal) `package:analyzer` API updates. |
| 75 | +* New lint: `no_default_cases` (experimental). |
90 | 76 | * New lint: `sized_box_for_whitespace`. |
| 77 | +* New lint: `use_is_even_rather_than_modulo`. |
| 78 | +* Updated `directives_ordering` to remove third party package special-casing. |
| 79 | +* Updated `prefer_is_empty` to special-case assert initializers and const |
| 80 | + contexts. |
| 81 | +* Updated `prefer_mixin` to allow "legacy" SDK abstract class mixins. |
| 82 | +* Updated `sized_box_for_whitespace` to address false-positives. |
| 83 | +* Updated `type_annotate_public_apis` to allow inferred types in final field |
| 84 | + assignments. |
| 85 | +* Updated `unnecessary_lambdas` to check for tear-off assignability. |
| 86 | +* Updated `unsafe_html` to use a `SecurityLintCode` (making it un-ignorable) and |
| 87 | + to include `Window.open`, `Element.html` and `DocumentFragment.html` in unsafe |
| 88 | + API checks. Also added checks for attributes and methods on extensions. |
91 | 89 |
|
92 | 90 | ### Dart VM |
93 | 91 |
|
|
0 commit comments