import-js/eslint-plugin-import

no-unused-modules "missingExports" returns false positives

Open

#2.102 geöffnet am 27. Mai 2021

Auf GitHub ansehen
 (7 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (4.946 Stars) (1.540 Forks)batch import
`exports` supportbughelp wanted

Beschreibung

I'd expect both of these cases to count as exports:

module.exports = {} // Should probably not trigger

export * from './someFile' // Should almost definitely not trigger

Contributor Guide