import-js/eslint-plugin-import
Rule Proposal: No duplicate re-exports (no-duplicate-reexport)
Open
#773 opened on Mar 22, 2017
help wantedrule proposal
Repository metrics
- Stars
- (5,940 stars)
- PR merge metrics
- (PR metrics pending)
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'