import-js/eslint-plugin-import

Rule Proposal: No duplicate re-exports (no-duplicate-reexport)

Open

#773 geöffnet am 22. März 2017

Auf GitHub ansehen
 (5 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (1.540 Forks)batch import
help wantedrule proposal

Repository-Metriken

Stars
 (4.946 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 138T 22h) (3 gemergte PRs in 30 T)

Beschreibung

With such a rule, the following would be considered a problem

export {a} from './source-file'
export {b} from './source-file'
export {c} from './source-file'

The following would not be considered a problem

export {a, b, c} from './source-file'

Contributor Guide