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

jshint / jshint / 2706
100%

Build:
DEFAULT BRANCH: master
Ran 11 Sep 2017 04:38PM UTC
Jobs 4
Files 13
Run time 7min
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

pending completion
2706

push

travis-ci

rwaldron
[[DOCS]] Expand warning message

`export` declarations with empty export export clauses are not
necessarily superfluous: if they also specify a "from" clause, they will
cause the referenced module to be evaluated. Because of this, the
warning produced in these cases should be contextual--it should
recommend removal only if no "from" clause is present. In the presence
of such a clause, the warning should instead suggest use of a
binding-free `import` declaration (as this clearly communicates the
intention to evaluate a module without requesting any bindings).

Notes on compatibility:

- The previous warning behavior had not yet been published in a stable
  release (it was implemented at the same time as the parser was
  corrected to support `export` declarations without bindings). This
  makes this change in warning behavior backward-compatible with prior
  releases.
- This warning is relevant for `import` declarations as well. However,
  because prior releases of JSHint included correct parsing support for
  binding-free `import` declarations, introducing an equivalent warning
  would constitute a backwards-breaking change.

8 of 8 new or added lines in 1 file covered. (100.0%)

4015 of 4066 relevant lines covered (98.75%)

14211.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2706.1 11 Sep 2017 04:39PM UTC 0
98.72
Travis Job 2706.1
2 2706.2 11 Sep 2017 04:40PM UTC 0
98.75
Travis Job 2706.2
3 2706.3 11 Sep 2017 04:46PM UTC 0
98.75
Travis Job 2706.3
4 2706.4 11 Sep 2017 04:38PM UTC 0
98.75
Travis Job 2706.4
Source Files on build 2706
  • Tree
  • List 0
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #2706
  • ea6f3619 on github
  • Prev Build on master (#2703)
  • Next Build on master (#2712)
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

© 2025 Coveralls, Inc