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

jshint / jshint / 2530 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 17 Oct 2016 09:19PM UTC
Files 13
Run time 12s
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

17 Oct 2016 09:13PM UTC coverage: 97.653% (+0.002%) from 97.651%
2530.2

push

travis-ci

rwaldron
[[FIX]] Correct interpretation of ASI (#3045)

Previously, the following operators were incorrectly interpreted as
"infix" operators:

- `++`
- `--`
- `yield`

The internal `isInfix` function tended to obscure this error because it
identified "infix" tokens via a boolean logic expression that acted as a
blacklist. This expression was difficult to understand and hostile to
future extensions for new language features (because future tokens could
be mistakenly implemented as "infix" operators).

Update all "infix" operator token definitions to explicitly define the
`infix` property, obviating the need for the internal `isInfix`
function. Ensure that the aforementioned tokens are not interpreted as
"infix" operators, This corrects the behavior of the internal
`isEndOfExpr` function, which is appreciable when linting code that
relies on automatic semicolon insertion.

3994 of 4090 relevant lines covered (97.65%)

3348.14 hits per line

Source Files on job 2530.2
  • Tree
  • List 0
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2530
  • Travis Job 2530.2
  • 9803e11e on github
  • Prev Job for on master (#2528.2)
  • Next Job for on master (#2532.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