import-js/eslint-plugin-import

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

開放

#773 建立於 2017年3月22日

 (5 則留言) (1 個反應) (0 位負責人)JavaScript (1,549 個分叉)batch import
help wantedrule proposal

倉庫指標

星標
 (5,940 顆星)
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'

貢獻者指南