import-js/eslint-plugin-import

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

Open

#773 ouverte le 22 mars 2017

Voir sur GitHub
 (5 commentaires) (1 réaction) (0 assignés)JavaScript (1 540 forks)batch import
help wantedrule proposal

Métriques du dépôt

Stars
 (4 946 stars)
Métriques de merge PR
 (Merge moyen 138j 22h) (3 PRs mergées en 30 j)

Description

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'

Guide contributeur