import-js/eslint-plugin-import
在 GitHub 查看Rule Proposal: No duplicate re-exports (no-duplicate-reexport)
Open
#773 创建于 2017年3月22日
help wantedrule proposal
仓库指标
- Star
- (4,946 star)
- PR 合并指标
- (平均合并 138天 22小时) (30 天内合并 3 个 PR)
描述
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'