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 authored and gsoldevila committed Dec 11, 2024
1 parent f97eef9 commit 00b8170
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ const memoizedGetColumnHeaders: (
isEventRenderedView: boolean
) => ColumnHeaderOptions[] = memoizeOne(getColumnHeaders);

// eslint-disable-next-line react/display-name
export const DataTableComponent = React.memo<DataTableProps>(
({
additionalControls,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Object.defineProperty(window, 'localStorage', {
});
window.scrollTo = jest.fn();

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const createStore = (state: any) => createReduxStore(() => {}, state);

/** A utility for wrapping children in the providers required to run most tests */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import { EuiSpacer } from '@elastic/eui';
import type { HistoricalResult as HistoricalResultType } from '../../../../../../../types';
import { IndexStatsPanel } from '../../../index_stats_panel';
import { HistoricalCheckFields } from './historical_check_fields';
// eslint-disable-next-line no-restricted-imports

import { isNonLegacyHistoricalResult } from './utils/is_non_legacy_historical_result';
// eslint-disable-next-line no-restricted-imports

import { LegacyHistoricalCheckFields } from './legacy_historical_check_fields';

export interface Props {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { getHistoricalResultStub } from '../../../../../../../../stub/get_historical_result_stub';
// eslint-disable-next-line no-restricted-imports

import { isNonLegacyHistoricalResult } from './is_non_legacy_historical_result';

describe('isNonLegacyHistoricalResult', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ describe('checkIndex', () => {

mockFetchMappings = jest.fn(
(_: { abortController: AbortController; patternOrIndexName: string }) =>
// eslint-disable-next-line prefer-promise-reject-errors
Promise.reject(undefined)
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ export const SolutionSideNav = (params: SolutionSideNavProps) => (
icon={'logoSecurity'}
isOpenOnDesktop={true}
canBeCollapsed={false}
// eslint-disable-next-line react/no-children-prop
children={
<SolutionSideNavComponent
items={params.items}
Expand Down

0 comments on commit 00b8170

Please sign in to comment.