kibana/x-pack/plugins/maps
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
..
common [eslint] add rule to prevent export* in plugin index files (#109357) 2021-09-01 18:05:45 -07:00
public [Maps] Add new index handling for users missing privs for index creation (#109754) 2021-09-01 11:29:47 -04:00
server [Maps] Ensure draw tools updates by index name, not index pattern title (#108394) 2021-08-31 10:49:34 -04:00
config.ts [maps] remove xpack.maps.showMapVisualizationTypes (#105979) 2021-08-24 10:46:40 -06:00
jest.config.js
kibana.json [maps] remove tile_map, region_map, and maps_legacy plugins (#105326) 2021-08-18 12:51:31 -06:00
README.md
tsconfig.json Remove spacesOss plugin (#109258) 2021-08-23 15:10:09 +02:00

Maps

Visualize geo data from Elasticsearch or 3rd party geo-services.

Testing

Run all tests from the x-pack root directory

  • Unit tests: yarn test:jest x-pack/plugins/maps --watch
  • Functional tests:
    • Run node scripts/functional_tests_server
    • Run node ../scripts/functional_test_runner.js --config ./test/functional/config.js --grep="maps app"