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

jshint / jshint / 2836
100%

Build:
DEFAULT BRANCH: master
Ran 30 Jul 2018 08:08PM UTC
Jobs 4
Files 14
Run time 4min
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
2836

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).

6 of 6 new or added lines in 1 file covered. (100.0%)

4045 of 4096 relevant lines covered (98.75%)

14334.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2836.1 30 Jul 2018 08:08PM UTC 0
98.73
Travis Job 2836.1
2 2836.2 30 Jul 2018 08:08PM UTC 0
98.75
Travis Job 2836.2
3 2836.3 30 Jul 2018 08:09PM UTC 0
98.75
Travis Job 2836.3
4 2836.4 30 Jul 2018 08:13PM UTC 0
98.75
Travis Job 2836.4
Source Files on build 2836
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2836
  • ab3ab85e on github
  • Prev Build on master (#2832)
  • Next Build on master (#2837)
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

© 2025 Coveralls, Inc