Skip to content

Improve error handling when setting up and reading a new integration #2527

Improve error handling when setting up and reading a new integration

Improve error handling when setting up and reading a new integration #2527

Triggered via pull request March 14, 2025 16:38
Status Success
Total duration 4m 40s
Artifacts

lint.yml

on: pull_request

Annotations

12 warnings
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint: public/components/event_analytics/explorer/explorer.tsx#L211
React Hook useMemo has a missing dependency: 'dataSourcePluggables'. Either include it or remove the dependency array
Lint: public/components/event_analytics/explorer/explorer.tsx#L280
Unexpected any. Specify a different type
Lint: public/components/event_analytics/explorer/explorer.tsx#L329
React Hook useEffect has missing dependencies: 'dispatch', 'historyFromRedirection.location.state', 'setEndTime', 'setStartTime', and 'tabId'. Either include them or remove the dependency array. If 'setStartTime' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint: public/components/event_analytics/explorer/explorer.tsx#L356
React Hook useEffect has a missing dependency: 'http'. Either include it or remove the dependency array
Lint: public/components/event_analytics/explorer/explorer.tsx#L359
Unexpected any. Specify a different type
Lint: public/components/event_analytics/explorer/explorer.tsx#L474
React Hook useEffect has missing dependencies: 'callback', 'callbackInApp', and 'prepareAvailability'. Either include them or remove the dependency array. Mutable values like 'appBasedRef.current' aren't valid dependencies because mutating them doesn't re-render the component
Lint: public/components/event_analytics/explorer/explorer.tsx#L483
React Hook useEffect has a missing dependency: 'routerContext'. Either include it or remove the dependency array
Lint: public/components/event_analytics/explorer/explorer.tsx#L490
React Hook useEffect has a missing dependency: 'updateTabData'. Either include it or remove the dependency array
Lint: public/components/event_analytics/explorer/explorer.tsx#L577
React Hook useMemo has missing dependencies: 'isLiveTailOn' and 'liveHits'. Either include them or remove the dependency array
Lint: public/components/event_analytics/explorer/explorer.tsx#L706
React Hook useMemo has missing dependencies: 'dispatch', 'endTime', 'explorerSearchMeta?.datasources', 'getCountVisualizations', 'getErrorHandler', 'getPatterns', 'getTimeChartRange', 'handleTimeRangePickerRefresh', 'http', 'liveTimestamp', 'pplService', 'requestParams', 'showTimeBasedComponents', 'startTime', 'tabId', 'timeIntervalOptions', and 'totalHits'. Either include them or remove the dependency array. Mutable values like 'isLiveTailOnRef.current' aren't valid dependencies because mutating them doesn't re-render the component