kibana/x-pack/plugins/timelines/common
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
..
ecs [Security Solution][CTI] Update legacy CTI signals to latest ECS threat fields (#107988) 2021-08-14 01:57:23 -04:00
search_strategy [RAC] [o11y] add permission in alerts table from kibana privilege/consumer (#109759) 2021-08-24 23:32:40 -04:00
types [RAC] Remove rbac on security solution side (#110472) 2021-09-01 04:23:44 -04:00
utils [RAC] EuiDataGrid pagination (#109269) 2021-08-26 14:41:47 -04:00
constants.ts [RAC] Remove rbac on security solution side (#110472) 2021-09-01 04:23:44 -04:00
index.ts [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
typed_json.ts [Data][Es Query] Use ES types instead of DslQuery (#108290) 2021-08-12 21:23:33 +02:00
utility_types.ts [RAC] T-Grid is moving to a new home (#100265) 2021-06-22 18:56:33 -04:00