mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 16:54:55 +00:00
bump to linter 0.1.77
Change-Id: I702f7253d28b2fd4ab2bbd67821247192b081bb8 Reviewed-on: https://dart-review.googlesource.com/c/88286 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
parent
2111f507bd
commit
168dcbf7cc
30
CHANGELOG.md
30
CHANGELOG.md
|
@ -83,26 +83,18 @@
|
|||
|
||||
#### Linter
|
||||
|
||||
The linter was bumped to `0.1.76` which introduces the following new lints to the SDK:
|
||||
The linter was bumped to `0.1.77` which introduces the following linter fixes to the SDK:
|
||||
|
||||
* `unnecessary_await_in_return`
|
||||
* `use_function_type_syntax_for_parameters`
|
||||
* `avoid_returning_null_for_future`
|
||||
* `avoid_shadowing_type_parameters`
|
||||
|
||||
and:
|
||||
|
||||
* `unnecessary_parenthesis` has been updated to allow wrapping a `!` argument and improved to handle function expressions
|
||||
* miscellaneous documentation grammar and spelling fixes have been made
|
||||
* error messages for `always_declare_return_types` have been improved
|
||||
* `prefer_final_fields ` has been fixed to work with classes that have generic type arguments
|
||||
* (internal): deprecated code has been cleaned up
|
||||
* false positives in `unrelated_type_equality_checks` have been fixed
|
||||
|
||||
In addition, `prefer_bool_in_asserts` has been deprecated as its semantics are
|
||||
redundant with Dart 2 checks and experimental lints `avoid_positional_boolean_parameters`,
|
||||
`literal_only_boolean_expressions`, `prefer_foreach`, `prefer_void_to_null` have all been
|
||||
promoted to stable.
|
||||
* updated `prefer_final_locals` to check to for loop variables
|
||||
* fixed `type_annotate_public_apis` false positives on local functions
|
||||
* fixed `avoid_shadowing_type_parameters` to report shadowed type parameters in generic typedefs
|
||||
* fixed `use_setters_to_change_properties` to not wrongly lint overriding methods
|
||||
* fixed `cascade_invocations` to not lint awaited targets
|
||||
* fixed `prefer_conditional_assignment` false positives
|
||||
* fixed `join_return_with_assignment` false positives
|
||||
* fixed `cascade_invocations` false positives
|
||||
* miscellaneous documentation improvements
|
||||
* updated `invariant_booleans` status to experimental
|
||||
|
||||
#### Other Tools
|
||||
|
||||
|
|
Loading…
Reference in a new issue