elastic/kibana

Remove `export *` pattern from Data plugin

Open

#99,515 建立於 2021年5月6日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)TypeScript (8,021 fork)batch import
Feature:SearchTeam:DataDiscoverygood first issueimpact:mediumloe:smalltechnical debt

倉庫指標

Star
 (19,065 star)
PR 合併指標
 (平均合併 1天 16小時) (30 天內合併 999 個 PR)

描述

export * makes it easy for a developer to accidentally expose functionality on a plugin's public API, and so should be avoided in favor of explicit exports.

Looks like data/common/index.ts has quite a few: https://github.com/elastic/kibana/blob/master/src/plugins/data/common/index.ts#L9

貢獻者指南