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

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

Build:
DEFAULT BRANCH: master
Ran 15 Jun 2020 10:00PM UTC
Files 48
Run time 10s
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: 95.531% (+0.1%) from 95.396%
ESLINT_VERSION=5

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.

1575 of 1721 branches covered (91.52%)

2202 of 2305 relevant lines covered (95.53%)

64.95 hits per line

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