mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 16:04:53 +00:00
bump linter to 0.1.75
(note that https://github.com/dart-lang/linter/pull/1296 needs to land first and 0.1.75 tagged in GH) Change-Id: Icf022f60c1b2f6cf2371ea24036649ac4df1b1d5 Reviewed-on: https://dart-review.googlesource.com/c/86081 Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
parent
41e0ae9399
commit
bfee7fa626
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -14,15 +14,21 @@
|
|||
|
||||
#### Linter
|
||||
|
||||
The linter was bumped to `0.1.73` which introduces the following new lints to the SDK:
|
||||
The linter was bumped to `0.1.75` which introduces the following new lints 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` lint has been improved to handle function expressions.
|
||||
|
||||
In addition, `prefer_bool_in_asserts` has been deprecated as its semantics are
|
||||
redundant with Dart 2 checks.
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue