• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / linter / 2212 / 1
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 23 Aug 2018 06:51PM UTC
Files 135
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Aug 2018 06:46PM UTC coverage: 96.636% (+0.01%) from 96.623%
LINTER_BOT=main

push

travis-ci

web-flow
New rule: avoid_void_async. `void f() async`, suggest `Future<void>`. (#1128)

* New rule: avoid_void_async. `void f() async`, suggest `Future<void>`.

Fix #1122.

As per discussion there, this is a *new* rule, not part of void_checks,
because it is much more likely to have low false positives.

In my experince, void_checks is very strict. It serves a useful purpose
in pushing people away from the more complex Null type by making void
useful in a way Null used to be used. However, void_checks is not
required for soundness, and it seems uncommon that the theory here
misses something practical.

For that reason, make a new rule. Users interested in making void behave
as if it were Null in certain ways can enable that, while users who just
want to make sure no async functions are declared wrong can enable this.

* Test on appveyor: move Stream into dart.async main file.

4395 of 4548 relevant lines covered (96.64%)

1.57 hits per line

Source Files on job 2212.1 (LINTER_BOT=main)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1877
  • Travis Job 2212.1
  • 5298564b on github
  • Prev Job for LINTER_BOT=main on master (#2211.1)
  • Next Job for LINTER_BOT=main on master (#2222.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc