You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See #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.
#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 #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
The text was updated successfully, but these errors were encountered:
…ugin (#145633)
Fixes#110893
## Summary
Replaces uses of `export *` with of explicit imports in
`public/index.ts` in Presentation Util plugin.
For reviewers:
This may look daunting as it touches many files across several plugins.
I recommend looking at the [change on this line
first](https://github.com/elastic/kibana/pull/145633/files#diff-64c9d44d43fb458b5f18b066887586eee3868c6ab1ea7fcb82254d40a0fb53f4L34).
Prior to this PR this line exports modules from the `common/lib`
directory in the `public` module. This should not be necessary since
other plugins should be able to access these modules from
`@kbn/presentation-util-plugin/common` directly.
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
See #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.#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 #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
The text was updated successfully, but these errors were encountered: