import-js/eslint-plugin-import

`export * as ns` false positive on import/named rule

Chiusa

#1883 aperta il 17 ago 2020

 (3 commenti) (12 reazioni) (0 assegnatari)JavaScript (1549 fork)batch import
bughelp wanted

Metriche repository

Star
 (5940 stelle)
Metriche merge PR
 (Merge medio 138g 22h) (3 PR mergiate in 30 g)

Descrizione

// module1.js
export const hello = 'world';

// module2.js
export * as mod1 from './module1'

// module3.js
import { mod1 } from './module2'; // <-- getting "mod1 not found", triggered by `import/named` rule.

I can create a repro case if needed.

Guida contributor