mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 16:44:59 +00:00
bump to linter 0.1.76
* `unnecessary_parenthesis` updated to allow wrapping a `!` argument * miscellaneous documentation grammar and spelling fixes * improved error messages for `always_declare_return_types` * fix `prefer_final_fields ` to work with classes that have generic type arguments * (internal): deprecated code cleanup * fixed false positives in `unrelated_type_equality_checks` Change-Id: I375a70aa86d5816881ea5d8faac65e5c3e72c80b Reviewed-on: https://dart-review.googlesource.com/c/87422 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
parent
4afb45f5b8
commit
02cdda28c5
|
@ -83,7 +83,7 @@
|
|||
|
||||
#### Linter
|
||||
|
||||
The linter was bumped to `0.1.75` which introduces the following new lints to the SDK:
|
||||
The linter was bumped to `0.1.76` which introduces the following new lints to the SDK:
|
||||
|
||||
* `unnecessary_await_in_return`
|
||||
* `use_function_type_syntax_for_parameters`
|
||||
|
@ -92,7 +92,12 @@ The linter was bumped to `0.1.75` which introduces the following new lints to th
|
|||
|
||||
and:
|
||||
|
||||
* `unnecessary_parenthesis` lint has been improved to handle function expressions.
|
||||
* `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`,
|
||||
|
|
Loading…
Reference in a new issue