See https://github.com/elastic/kibana/issues/57370 for reasoning, but the gist is that export * usage leads to unexpected and excessive exports from the plugin, leading the public API to grow and increasing the cost of maintaining backwards compatibility.
https://github.com/elastic/kibana/pull/109357 implements an ESLint rule to check for this that also assists in fixing the rule, though the auto-fix is imperfect and will require some manual review before committing.
Please remove the /* eslint-disable @kbn/eslint/no_export_all */ comment(s) added in https://github.com/elastic/kibana/pull/109357 from the relevant files, validate the auto-fix, remove unnecessary exports, and then submit a PR. Thank you!
Hint: You can search for the URL of this issue to find specific occurrences
See https://github.com/elastic/kibana/issues/57370 for reasoning, but the gist is that
export *
usage leads to unexpected and excessive exports from the plugin, leading the public API to grow and increasing the cost of maintaining backwards compatibility.https://github.com/elastic/kibana/pull/109357 implements an ESLint rule to check for this that also assists in fixing the rule, though the auto-fix is imperfect and will require some manual review before committing.
Please remove the
/* eslint-disable @kbn/eslint/no_export_all */
comment(s) added in https://github.com/elastic/kibana/pull/109357 from the relevant files, validate the auto-fix, remove unnecessary exports, and then submit a PR. Thank you!Hint: You can search for the URL of this issue to find specific occurrences