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

jshint / jshint / 2521
100%

Build:
DEFAULT BRANCH: master
Ran 22 Sep 2016 07:11PM UTC
Jobs 4
Files 13
Run time 35s
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
2521

push

travis-ci

rwaldron
Fix for gh-3013 (#3016)

* [[CHORE]] Remove `lex.start` method

This method simply proxies `lex.nextLine` to scan a single line of the
program. It is currently only used to scan the very first line of input,
which is problematic for two reasons:

1. Linting options have not yet been applied via the `assume` function,
   so linting options that effect the parser's behavior are not honored
   for this first line (see the unit test corrected in this patch for an
   example)
2. So-called "checks" for asynchronously-reported warnings on the first
   line cannot be associated with a token. This makes it impossible to
   issue warnings asynchronously for the first line.

Because the `lex.token` method itself invokes `lex.nextLine`, these
problems may be avoided by removing `lex.start` and deferring the
invocation of `nextLine` until the first token is requested.

* [[FIX]] Allow W100 to be ignored during lookahead

Defer the reporting of warning W100 until parse time (using
`triggerAsync`) so that it may be disabled via in-line directives even
in contexts where a "lookahead" is taking place.

* fixup! [[FIX]] Allow W100 to be ignored during lookahead

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

3992 of 4085 relevant lines covered (97.72%)

13396.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2521.1 22 Sep 2016 07:12PM UTC 0
97.7
Travis Job 2521.1
2 2521.2 22 Sep 2016 07:12PM UTC 0
97.65
Travis Job 2521.2
3 2521.3 22 Sep 2016 07:11PM UTC 0
97.65
Travis Job 2521.3
4 2521.4 22 Sep 2016 07:11PM UTC 0
97.65
Travis Job 2521.4
Source Files on build 2521
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2521
  • a2b38813 on github
  • Prev Build on master (#2520)
  • Next Build on master (#2522)
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