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:
pq 2019-01-03 22:31:23 +00:00 committed by commit-bot@chromium.org
parent 01a8ff067e
commit 3d702164c9
2 changed files with 20 additions and 12 deletions

View file

@ -83,18 +83,26 @@
#### 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
* 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
* `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.
#### Other Tools

2
DEPS
View file

@ -97,7 +97,7 @@ vars = {
"intl_tag": "0.15.7",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_tag": "2.0.9",
"linter_tag": "0.1.77",
"linter_tag": "0.1.76",
"logging_tag": "0.11.3+2",
"markdown_tag": "2.0.2",
"matcher_tag": "0.12.3",