kibana/x-pack/plugins/observability/public
Spencer fecdba7eba
[eslint] add rule to prevent export* in plugin index files (#109357)
* [eslint] add rule to prevent export* in plugin index files

* deduplicate export names for types/instances with the same name

* attempt to auto-fix duplicate exports too

* capture exported enums too

* enforce no_export_all for core too

* disable rule by default, allow opting-in for help fixing

* update tests

* reduce yarn.lock duplication

* add rule but no fixes

* disable all existing violations

* update api docs with new line numbers

* revert unnecessary changes to yarn.lock which only had drawbacks

* remove unnecessary eslint-disable

* rework codegen to split type exports and use babel to generate valid code

* check for "export types" deeply

* improve test by using fixtures

* add comments to some helper functions

* disable fix for namespace exports including types

* label all eslint-disable comments with related team-specific issue

* ensure that child exports of `export type` are always tracked as types

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-01 18:05:45 -07:00
..
application Refactor observability plugin breadcrumbs (#102290) 2021-06-17 00:27:23 -05:00
assets [Observability] Exploratory View initial skeleton (#94426) 2021-04-05 15:26:48 +02:00
components Disable sync toggle in flyout (#110714) 2021-09-01 09:06:29 -04:00
context [Exploratory View] Mobile experience (#99565) 2021-06-18 17:30:53 +02:00
hooks [RAC][o11y] fix o11y privileges when rule created in stack (#110167) 2021-08-31 07:31:38 -04:00
pages [Rule Registry][RAC] Rename kibana.alert.id to kibana.alert.instance.id (#110528) 2021-09-01 16:56:49 -04:00
routes [RAC] Enable workflow status filtering (#108215) 2021-08-20 12:07:09 +02:00
rules [Alerting] Rename alertTypeRegistry to ruleTypeRegistry according to the new terminology. (#106519) 2021-07-27 10:03:00 -07:00
services [OBS] Editing navigation docs adding badge information (#108530) 2021-08-16 12:44:45 -04:00
typings [Exploratory View] Mobile experience (#99565) 2021-06-18 17:30:53 +02:00
utils Don't import react-intl directly to reduce bundle sizes (#102497) 2021-06-24 16:52:55 +02:00
data_handler.test.ts [Exploratory View] Mobile experience (#99565) 2021-06-18 17:30:53 +02:00
data_handler.ts
index.ts [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
plugin.ts [Cases] Add Lens markdown plugin (#96703) 2021-08-17 15:49:44 -07:00
update_global_navigation.test.tsx Observability side navigation for cases and alerts (#102556) 2021-06-28 11:48:32 -05:00
update_global_navigation.tsx Observability side navigation for cases and alerts (#102556) 2021-06-28 11:48:32 -05:00