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

jshint / jshint / 2836 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 30 Jul 2018 08:09PM UTC
Files 14
Run time 2s
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

30 Jul 2018 08:05PM UTC coverage: 98.755% (+0.03%) from 98.73%
2836.3

push

travis-ci

rwaldron
[[FIX]] Do not warn about non-ambiguous linebreaks

Warning W014 was implemented to alert users of potentially-confusing
formatting resulting from reliance on ASI.

The original heuristic was applied for every expression and simply
referenced token values. It assumed that when the previous token was a
closing parenthesis or bracket, this always signified a line of code
where the newline could be interpreted as a statement boundary, e.g.

    x = 3 * (2 + 1)
    [0]

However, this heuristic was susceptible to false positives, where the
closing punctuator would not be interpreted as the end of a statement:

    if (true)
      [x] = []

Re-implement the code that detects the warning condition from the
general "expression" function to the specific "infix" parsing logic
(used only when the "(" and "[" tokens have been identified as
components of an exiting expression).

4045 of 4096 relevant lines covered (98.75%)

3583.64 hits per line

Source Files on job 2836.3
  • Tree
  • List 0
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2814
  • Travis Job 2836.3
  • ab3ab85e on github
  • Prev Job for on master (#2832.1)
  • Next Job for on master (#2837.4)
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