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

benmosher / eslint-plugin-import / 27 / 11
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 04 Nov 2017 06:55AM UTC
Files 104
Run time 3s
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

12 Oct 2017 08:23AM UTC coverage: 96.088%. Remained the same
ESLINT_VERSION=3

push

travis-ci

ljharb
[patch] make no-extraneous-dependencies include only paths that can be resolved,
as only resolved paths can be reliably tested if they live in a `node_modules` folder.

Up until now, this rule assumed, that every package that lives in a `node_modules` folder
or *cannot be resolved* is an external package.
This happens because of [that line](https://github.com/benmosher/eslint-plugin-import/blob/master/src/core/importType.js#L32).

If project uses aliasing, or transforms imports, this assumption is wrong,
as they may not be resolvable by import plugin, but also, they should not be defined in package.json.

Changing `isExternalPath` will make any ordering lints unstable
(order may change depending if you ran `npm install` or not).

Using `import/ignore` setting does not make sense too, as it's used to ignore imports unknown to the plugin,
like .css files. But still, you may import a css file from a dependency, and this rule should check that.

925 of 1039 branches covered (89.03%)

1965 of 2045 relevant lines covered (96.09%)

57.76 hits per line

Source Files on job 27.11 (ESLINT_VERSION=3)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 27
  • Travis Job 27.11
  • ae373187 on github
  • Prev Job for ESLINT_VERSION=3 on master (#2352.11)
  • Next Job for on master (##2941.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