kibana/x-pack/plugins/osquery/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][Detections][Threshold Rules] Threshold multiple aggregations with cardinality (#90826) 2021-02-17 23:07:26 -05:00
schemas [Osquery] Add Saved queries (#100965) 2021-06-28 21:19:02 -04:00
search_strategy Update @elastic/elasticsearch to 8.0.0-canary13 (#98266) 2021-06-08 15:06:06 +02:00
utils/build_query
constants.ts [Asset Management] Add live query history table (#94536) 2021-04-19 20:10:34 +02:00
exact_check.test.ts [Asset Management] Add support for Live queries in Osquery (#89889) 2021-03-09 13:25:47 +01:00
exact_check.ts Added deprecation to all the io-ts types and copies of them (#99260) 2021-05-04 17:00:45 -06:00
format_errors.test.ts [Asset Management] Add support for Live queries in Osquery (#89889) 2021-03-09 13:25:47 +01:00
format_errors.ts Added deprecation to all the io-ts types and copies of them (#99260) 2021-05-04 17:00:45 -06:00
index.ts [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
shared_imports.ts
test_utils.ts Added deprecation to all the io-ts types and copies of them (#99260) 2021-05-04 17:00:45 -06:00
typed_json.ts [Data][Es Query] Use ES types instead of DslQuery (#108290) 2021-08-12 21:23:33 +02:00
types.ts [Osquery] Add ECS mapping editor (#107706) 2021-08-16 01:17:07 +02:00
utility_types.ts