import-js/eslint-plugin-import

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

Open

#773 aperta il 22 mar 2017

Vedi su GitHub
 (5 commenti) (1 reazione) (0 assegnatari)JavaScript (1540 fork)batch import
help wantedrule proposal

Metriche repository

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

Descrizione

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'

Guida contributor