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

benmosher / eslint-plugin-import / 4050 / 52
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 15 Jun 2020 10:00PM UTC
Files 48
Run time 9s
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 Jun 2020 08:34PM UTC coverage: 93.709% (-1.7%) from 95.396%
ESLINT_VERSION=4

push

travis-ci

ljharb
[Fix] `order`/TypeScript: properly support `import = object` expressions

Just like ordinary `import x =` expressions, `export import x =` expressions can come with a number of different module-references.
Either a require-expression such as `export import fs = require("fs")`, a literal such as `export import Console = console;` or an object-path `export import log = console.log`.

This means, that the `isExport` property merely says whether the `TSImportEqualsDeclaration` has a leading `export`, but not what the `moduleReference` looks like.

----

This arguably is a semver-minor, but since it should have been included in #1785, I'm calling this a bugfix.

Fixes #1821. Fixes #1808.

1553 of 1721 branches covered (90.24%)

2160 of 2305 relevant lines covered (93.71%)

60.37 hits per line

Source Files on job 4050.52 (ESLINT_VERSION=4)
  • Tree
  • List 0
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 28362480
  • Travis Job 4050.52
  • f5d95e8c on github
  • Prev Job for on master (#3955)
  • Next Job for ESLINT_VERSION=4 on master (#265.4)
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