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:
pq 2018-12-17 18:19:47 +00:00 committed by commit-bot@chromium.org
parent 4afb45f5b8
commit 02cdda28c5
2 changed files with 8 additions and 3 deletions

View file

@ -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`,

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.75",
"linter_tag": "0.1.76",
"logging_tag": "0.11.3+2",
"markdown_tag": "2.0.2",
"matcher_tag": "0.12.3",