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

jshint / jshint / 2502 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 15 Aug 2016 10:39PM UTC
Files 13
Run time 6s
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

15 Aug 2016 10:37PM UTC coverage: 97.694%. Remained the same
2502.1

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.

3983 of 4077 relevant lines covered (97.69%)

3332.16 hits per line

Source Files on job 2502.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2502
  • Travis Job 2502.1
  • 179a9d6a on github
  • Prev Job for on master (#2501.1)
  • Next Job for on master (#2505.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