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

benmosher / eslint-plugin-import / 2351
94%

Build:
DEFAULT BRANCH: master
Ran 04 Nov 2017 06:29AM UTC
Jobs 12
Files 104
Run time 10min
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
2351

Pull #943

travis-ci

web-flow
[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.
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 2351.1 (ESLINT_VERSION=2) 04 Nov 2017 06:29AM UTC 0
94.82
Travis Job 2351.1
2 2351.2 (ESLINT_VERSION=3) 04 Nov 2017 06:30AM UTC 0
94.82
Travis Job 2351.2
3 2351.3 (ESLINT_VERSION=4) 04 Nov 2017 06:30AM UTC 0
94.82
Travis Job 2351.3
4 2351.4 (ESLINT_VERSION=2) 04 Nov 2017 06:29AM UTC 0
94.82
Travis Job 2351.4
5 2351.5 (ESLINT_VERSION=3) 04 Nov 2017 06:29AM UTC 0
94.82
Travis Job 2351.5
6 2351.6 (ESLINT_VERSION=4) 04 Nov 2017 06:32AM UTC 0
94.82
Travis Job 2351.6
7 2351.7 (ESLINT_VERSION=2) 04 Nov 2017 06:39AM UTC 0
94.82
Travis Job 2351.7
8 2351.8 (ESLINT_VERSION=3) 04 Nov 2017 06:31AM UTC 0
94.82
Travis Job 2351.8
9 2351.9 (ESLINT_VERSION=4) 04 Nov 2017 06:32AM UTC 0
94.82
Travis Job 2351.9
10 2351.10 (ESLINT_VERSION=2) 04 Nov 2017 06:35AM UTC 0
96.09
Travis Job 2351.10
11 2351.11 (ESLINT_VERSION=3) 04 Nov 2017 06:36AM UTC 0
96.09
Travis Job 2351.11
12 2351.12 (ESLINT_VERSION=4) 04 Nov 2017 06:39AM UTC 0
96.09
Travis Job 2351.12
Source Files on build 2351
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2351
  • 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