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

jshint / jshint / 1997 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2015 08:27PM UTC
Files 13
Run time 1s
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

05 Jul 2015 08:27PM UTC coverage: 97.293%. Remained the same
1997.2

push

travis-ci

Mike Pennisi
[[FIX]] Dont warn twice in var redeclaration

When a block scoped variable is declared twice in the same scope it is a
syntax error. If the variable is used between those declarations jshint
should not warn about use before declared and error on re-declaration, so
remove the use before declared warning in this case.

When a function scoped variable is declared twice and used before
2nd declaration, jshint does not warn in 2.8.0 but the scope manager
change regressed this so it started warning twice. This fixes that
regression.

3774 of 3879 relevant lines covered (97.29%)

3039.52 hits per line

Source Files on job 1997.2
  • Tree
  • List 0
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1997
  • Travis Job 1997.2
  • e32e17b9 on github
  • Prev Job for on master (#1985.2)
  • Next Job for on master (#2006.2)
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