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

jshint / jshint / 2502
100%

Build:
DEFAULT BRANCH: master
Ran 15 Aug 2016 10:39PM UTC
Jobs 4
Files 13
Run time 1min
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
2502

push

travis-ci

rwaldron
[[FIX]] Support semicolons within arrow fn params (#3003)

When JSHint encounters an "open parenthesis" token, it must determine if
the token marks the beginning of an arrow function or a grouping
operator before parsing can proceed.

To make this determination, it inspects the token stream to find the
corresponding "close parenthesis" character.

Previously, this lookahead behavior halted whenever a semicolon token
was encountered. This was presumably an optimization to allow the
algorithm to exit early in the event of an unmatched "open parenthesis"
token.

Because a semicolon token may appear in the parameter list of an arrow
function (e.g. within a default parameter value that is a function
expression), the presence of such a token does *not* necessarily
indicate that the "open parenthesis" is unmatched.

Remove the condition concerning the semicolon character from the
lookahead algorithm.

3984 of 4077 relevant lines covered (97.72%)

13328.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2502.1 15 Aug 2016 10:39PM UTC 0
97.69
Travis Job 2502.1
2 2502.2 15 Aug 2016 10:40PM UTC 0
97.65
Travis Job 2502.2
3 2502.3 15 Aug 2016 10:41PM UTC 0
97.65
Travis Job 2502.3
4 2502.4 15 Aug 2016 10:40PM UTC 0
97.65
Travis Job 2502.4
Source Files on build 2502
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2502
  • 179a9d6a on github
  • Prev Build on master (#2501)
  • Next Build on master (#2505)
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