import-js/eslint-plugin-import

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

Open

#773 aberto em 22 de mar. de 2017

Ver no GitHub
 (5 comments) (1 reaction) (0 assignees)JavaScript (1.540 forks)batch import
help wantedrule proposal

Métricas do repositório

Stars
 (4.946 stars)
Métricas de merge de PR
 (Mesclagem média 138d 22h) (3 fundiu PRs em 30d)

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'

Guia do colaborador