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

benmosher / eslint-plugin-import / 2349
94%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2017 07:44PM UTC
Jobs 12
Files 104
Run time 98min
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
2349

Pull #943

travis-ci

web-flow
no-extraneous-dependencies includes 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.
Pull Request #943: Make `no-extraneous-deps` lint only dependencies that can be resolved

929 of 1039 branches covered (89.41%)

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

1965 of 2045 relevant lines covered (96.09%)

679.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2349.1 (ESLINT_VERSION=2) 02 Nov 2017 07:46PM UTC 0
94.82
Travis Job 2349.1
2 2349.2 (ESLINT_VERSION=3) 02 Nov 2017 07:45PM UTC 0
94.82
Travis Job 2349.2
3 2349.3 (ESLINT_VERSION=4) 02 Nov 2017 07:45PM UTC 0
94.82
Travis Job 2349.3
4 2349.4 (ESLINT_VERSION=2) 02 Nov 2017 07:52PM UTC 0
94.82
Travis Job 2349.4
5 2349.5 (ESLINT_VERSION=3) 02 Nov 2017 07:44PM UTC 0
94.82
Travis Job 2349.5
6 2349.6 (ESLINT_VERSION=4) 02 Nov 2017 07:51PM UTC 0
94.82
Travis Job 2349.6
7 2349.7 (ESLINT_VERSION=2) 02 Nov 2017 07:47PM UTC 0
94.82
Travis Job 2349.7
8 2349.8 (ESLINT_VERSION=3) 02 Nov 2017 07:47PM UTC 0
94.82
Travis Job 2349.8
9 2349.9 (ESLINT_VERSION=4) 02 Nov 2017 07:48PM UTC 0
94.82
Travis Job 2349.9
10 2349.10 (ESLINT_VERSION=2) 02 Nov 2017 08:34PM UTC 0
96.09
Travis Job 2349.10
11 2349.11 (ESLINT_VERSION=3) 02 Nov 2017 08:38PM UTC 0
96.09
Travis Job 2349.11
12 2349.12 (ESLINT_VERSION=4) 02 Nov 2017 09:22PM UTC 0
96.09
Travis Job 2349.12
Source Files on build 2349
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2349
  • Pull Request #943
  • PR Base - master (#)
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