mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 19:13:14 -04:00
[linting] Enforce relative paths for X-Pack modules (#34349)
* Add module-migration support for toRelative Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> * tslint fixes Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> * Move configuration to root Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> * Simplify root definition Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
5b9cdc7307
commit
1b95bed2da
152 changed files with 291 additions and 322 deletions
|
@ -13,7 +13,7 @@ import {
|
|||
import { Legacy } from 'kibana';
|
||||
import { cloneDeep, has, isString, set } from 'lodash';
|
||||
import moment from 'moment';
|
||||
import { OBSERVER_VERSION_MAJOR } from 'x-pack/plugins/apm/common/elasticsearch_fieldnames';
|
||||
import { OBSERVER_VERSION_MAJOR } from '../../../common/elasticsearch_fieldnames';
|
||||
|
||||
function decodeEsQuery(esQuery?: string) {
|
||||
return esQuery ? JSON.parse(decodeURIComponent(esQuery)) : null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue