import-js/eslint-plugin-import

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

Open

#773 创建于 2017年3月22日

在 GitHub 查看
 (5 评论) (1 反应) (0 负责人)JavaScript (1,540 fork)batch import
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'

贡献者指南