mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 01:25:41 +00:00
Revert "bump to linter 0.1.77"
This reverts commit 168dcbf7cc
.
Change-Id: Ifbfcec7f16ef03b3f639a3c3b4ca44ff7a910b4e
Reviewed-on: https://dart-review.googlesource.com/c/88340
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
parent
01a8ff067e
commit
3d702164c9
30
CHANGELOG.md
30
CHANGELOG.md
|
@ -83,18 +83,26 @@
|
||||||
|
|
||||||
#### Linter
|
#### Linter
|
||||||
|
|
||||||
The linter was bumped to `0.1.77` which introduces the following linter fixes to the SDK:
|
The linter was bumped to `0.1.76` which introduces the following new lints to the SDK:
|
||||||
|
|
||||||
* updated `prefer_final_locals` to check to for loop variables
|
* `unnecessary_await_in_return`
|
||||||
* fixed `type_annotate_public_apis` false positives on local functions
|
* `use_function_type_syntax_for_parameters`
|
||||||
* fixed `avoid_shadowing_type_parameters` to report shadowed type parameters in generic typedefs
|
* `avoid_returning_null_for_future`
|
||||||
* fixed `use_setters_to_change_properties` to not wrongly lint overriding methods
|
* `avoid_shadowing_type_parameters`
|
||||||
* fixed `cascade_invocations` to not lint awaited targets
|
|
||||||
* fixed `prefer_conditional_assignment` false positives
|
and:
|
||||||
* fixed `join_return_with_assignment` false positives
|
|
||||||
* fixed `cascade_invocations` false positives
|
* `unnecessary_parenthesis` has been updated to allow wrapping a `!` argument and improved to handle function expressions
|
||||||
* miscellaneous documentation improvements
|
* miscellaneous documentation grammar and spelling fixes have been made
|
||||||
* updated `invariant_booleans` status to experimental
|
* 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.
|
||||||
|
|
||||||
#### Other Tools
|
#### Other Tools
|
||||||
|
|
||||||
|
|
2
DEPS
2
DEPS
|
@ -97,7 +97,7 @@ vars = {
|
||||||
"intl_tag": "0.15.7",
|
"intl_tag": "0.15.7",
|
||||||
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
|
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
|
||||||
"json_rpc_2_tag": "2.0.9",
|
"json_rpc_2_tag": "2.0.9",
|
||||||
"linter_tag": "0.1.77",
|
"linter_tag": "0.1.76",
|
||||||
"logging_tag": "0.11.3+2",
|
"logging_tag": "0.11.3+2",
|
||||||
"markdown_tag": "2.0.2",
|
"markdown_tag": "2.0.2",
|
||||||
"matcher_tag": "0.12.3",
|
"matcher_tag": "0.12.3",
|
||||||
|
|
Loading…
Reference in a new issue