Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Apr 18, 2022
1 parent 0963eac commit 2320197
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import React from 'react';
import { Route, Switch } from 'react-router-dom';
import { TrackApplicationView } from '@kbn/usage-collection-plugin/public';

import { useExecutionContext } from '../../../../../../../src/plugins/kibana_react/public';
import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import { ALERTS_PATH, SecurityPageName } from '../../../../common/constants';
import { NotFoundPage } from '../../../app/404';
import * as i18n from './translations';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
import React, { useCallback, useRef, useState, useMemo } from 'react';
import styled from 'styled-components';

import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import { useCreateRule } from '../../../../containers/detection_engine/rules';
import { CreateRulesSchema } from '../../../../../../common/detection_engine/schemas/request';
import { useListsConfig } from '../../../../containers/detection_engine/lists/use_lists_config';
Expand Down Expand Up @@ -49,7 +50,6 @@ import { ruleStepsOrder } from '../utils';
import { APP_UI_ID } from '../../../../../../common/constants';
import { useKibana } from '../../../../../common/lib/kibana';
import { HeaderPage } from '../../../../../common/components/header_page';
import { useExecutionContext } from '../../../../../../../../../src/plugins/kibana_react/public';

const formHookNoop = async (): Promise<undefined> => undefined;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {

import { Dispatch } from 'redux';
import { isTab } from '@kbn/timelines-plugin/public';
import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import {
useDeepEqualSelector,
useShallowEqualSelector,
Expand Down Expand Up @@ -121,7 +122,6 @@ import {
} from '../../../../components/alerts_table/alerts_filter_group';
import { useSignalHelpers } from '../../../../../common/containers/sourcerer/use_signal_helpers';
import { HeaderPage } from '../../../../../common/components/header_page';
import { useExecutionContext } from '../../../../../../../../../src/plugins/kibana_react/public';

/**
* Need a 100% height here to account for the graph/analyze tool, which sets no explicit height parameters, but fills the available space.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { FormattedMessage } from '@kbn/i18n-react';
import React, { FC, memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { useParams } from 'react-router-dom';

import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import { UpdateRulesSchema } from '../../../../../../common/detection_engine/schemas/request';
import { useRule, useUpdateRule } from '../../../../containers/detection_engine/rules';
import { useListsConfig } from '../../../../containers/detection_engine/lists/use_lists_config';
Expand Down Expand Up @@ -57,7 +58,6 @@ import { ruleStepsOrder } from '../utils';
import { useKibana } from '../../../../../common/lib/kibana';
import { APP_UI_ID } from '../../../../../../common/constants';
import { HeaderPage } from '../../../../../common/components/header_page';
import { useExecutionContext } from '../../../../../../../../../src/plugins/kibana_react/public';

const formHookNoop = async (): Promise<undefined> => undefined;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import { EuiButton, EuiFlexGroup, EuiFlexItem, EuiToolTip } from '@elastic/eui';
import React, { useCallback, useMemo } from 'react';

import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import { usePrePackagedRules, importRules } from '../../../containers/detection_engine/rules';
import { useListsConfig } from '../../../containers/detection_engine/lists/use_lists_config';
import {
Expand Down Expand Up @@ -41,7 +42,6 @@ import { HeaderPage } from '../../../../common/components/header_page';
import { RulesTableContextProvider } from './all/rules_table/rules_table_context';
import { useInvalidateRules } from '../../../containers/detection_engine/rules/use_find_rules_query';
import { useBoolState } from '../../../../common/hooks/use_bool_state';
import { useExecutionContext } from '../../../../../../../../src/plugins/kibana_react/public';

const RulesPageComponent: React.FC = () => {
const [isImportModalVisible, showImportModal, hideImportModal] = useBoolState();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import React from 'react';
import { Route, Switch } from 'react-router-dom';
import { TrackApplicationView } from '@kbn/usage-collection-plugin/public';

import { useExecutionContext } from '../../../../../src/plugins/kibana_react/public';
import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import * as i18n from './translations';
import { EXCEPTIONS_PATH, SecurityPageName } from '../../common/constants';
import { ExceptionListsTable } from '../detections/pages/detection_engine/rules/all/exceptions/exceptions_table';
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/security_solution/public/hosts/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

import React from 'react';
import { TrackApplicationView } from '@kbn/usage-collection-plugin/public';
import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import { HostsContainer } from './pages';
import { SecurityPageName, SecuritySubPluginRoutes } from '../app/types';
import { HOSTS_PATH } from '../../common/constants';
import { useExecutionContext } from '../../../../../src/plugins/kibana_react/public';
import { useKibana } from '../common/lib/kibana';

export const HostsRoutes = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
*/

import React from 'react';
import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import { MANAGEMENT_PATH } from '../../common/constants';
import { ManagementContainer } from './pages';
import { SecuritySubPluginRoutes } from '../app/types';
import { CurrentLicense } from '../common/components/current_license';
import { useExecutionContext } from '../../../../../src/plugins/kibana_react/public';
import { useKibana } from '../common/lib/kibana';

/**
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/security_solution/public/network/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

import React from 'react';
import { TrackApplicationView } from '@kbn/usage-collection-plugin/public';
import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import { NetworkContainer } from './pages';

import { SecurityPageName, SecuritySubPluginRoutes } from '../app/types';
import { NETWORK_PATH } from '../../common/constants';
import { useExecutionContext } from '../../../../../src/plugins/kibana_react/public';
import { useKibana } from '../common/lib/kibana';

export const NetworkRoutes = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

import React from 'react';
import { TrackApplicationView } from '@kbn/usage-collection-plugin/public';
import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import { Timelines } from './pages';
import { TIMELINES_PATH } from '../../common/constants';
import { useExecutionContext } from '../../../../../src/plugins/kibana_react/public';
import { useKibana } from '../common/lib/kibana';

import { SecurityPageName, SecuritySubPluginRoutes } from '../app/types';
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/security_solution/public/users/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

import React from 'react';
import { TrackApplicationView } from '@kbn/usage-collection-plugin/public';
import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
import { UsersContainer } from './pages';

import { SecurityPageName, SecuritySubPluginRoutes } from '../app/types';
import { USERS_PATH } from '../../common/constants';
import { useExecutionContext } from '../../../../../src/plugins/kibana_react/public';
import { useKibana } from '../common/lib/kibana';

export const UsersRoutes = () => {
Expand Down

0 comments on commit 2320197

Please sign in to comment.