kibana/x-pack/plugins
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
..
actions [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
alerting [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
apm [Rule Registry][RAC] Rename kibana.alert.id to kibana.alert.instance.id (#110528) 2021-09-01 16:56:49 -04:00
banners
canvas Upgrade EUI to v37.3.1 (#109926) 2021-09-01 08:39:20 -07:00
cases [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
cloud Add snapshotsUrl to Cloud plugin public interface. (#110328) 2021-09-01 14:42:01 -07:00
cross_cluster_replication
dashboard_enhanced [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
data_enhanced
data_visualizer [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
discover_enhanced [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
drilldowns
embeddable_enhanced
encrypted_saved_objects
enterprise_search Fix flakey test (#110154) 2021-08-26 01:32:13 -04:00
event_log [Event Log] Added Kibana version to eventLog ECS log entries. (#108476) 2021-08-17 20:05:20 -07:00
features
file_upload [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
fleet [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
global_search [Elasticsearch] remove legacy es client (#107619) 2021-08-18 19:18:05 +02:00
global_search_bar
global_search_providers
graph [Graph] Deangularize graph app controller (#106587) 2021-08-31 19:26:45 +03:00
grokdebugger
index_lifecycle_management [ILM] Fixed loading layout that has degraded after adding RedirectAppLinks (#110461) 2021-08-30 16:09:36 +02:00
index_management [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
infra [RAC][Rule Registry] Implement versioning and backing indices (#109276) 2021-08-25 19:54:25 +02:00
ingest_pipelines
lens [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
license_api_guard
license_management Upgrade EUI to v37.3.1 (#109926) 2021-09-01 08:39:20 -07:00
licensing [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
lists [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
logstash
maps [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
metrics_entities [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
ml [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
monitoring [Montiroing] Add monitoring toolbar with date picker (#110612) 2021-09-01 05:35:53 -05:00
observability [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
osquery [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
painless_lab
remote_clusters
reporting [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
rollup Migrate Stack Management apps to consume internal EuiCodeEditor (#108629) 2021-08-19 10:23:55 -07:00
rule_registry [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
runtime_fields
saved_objects_tagging
searchprofiler
security Security usage data (#110548) 2021-09-01 10:35:36 -04:00
security_solution [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
snapshot_restore [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
spaces bulkGet saved objects across spaces (#109967) 2021-08-26 11:26:34 -04:00
stack_alerts [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
task_manager [task manager] provide better diagnostics when task manager performance is degraded (#109741) 2021-09-01 15:12:46 -04:00
telemetry_collection_xpack Security usage data (#110548) 2021-09-01 10:35:36 -04:00
timelines [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
transform [ML] Populate date fields for Transform (#108804) 2021-08-31 13:08:17 -05:00
translations Upgrade EUI to v37.3.1 (#109926) 2021-09-01 08:39:20 -07:00
triggers_actions_ui [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
ui_actions_enhanced [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
upgrade_assistant [Core deprecations] Add title field to deprecation info (#109840) 2021-09-01 13:10:25 +03:00
uptime [Uptime] [Synthetics Integration] browser functional tests (#110648) 2021-09-01 14:54:00 -04:00
watcher Migrate Stack Management apps to consume internal EuiCodeEditor (#108629) 2021-08-19 10:23:55 -07:00
xpack_legacy