Enhancement/search bar flint #14
Annotations
10 errors and 14 warnings
Lint Changed Files:
public/components/application_analytics/components/application.tsx#L110
'toasts' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Lint Changed Files:
public/components/common/search/search_bar.tsx#L7
`../../event_analytics/explorer/context/context` import should occur after import of `react-redux`
|
Lint Changed Files:
public/components/common/search/search_bar.tsx#L126
'notifications' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Lint Changed Files:
public/components/event_analytics/explorer/context/context.tsx#L14
`react` import should occur before import of `../../../../../../../src/plugins/opensearch_dashboards_react/public`
|
Lint Changed Files:
public/components/event_analytics/explorer/context/context.tsx#L15
`react` import should occur before import of `../../../../../../../src/plugins/opensearch_dashboards_react/public`
|
Lint Changed Files:
public/components/index.tsx#L10
'SetupDependencies' is defined but never used. Allowed unused vars must match /^_/u
|
|
Lint Changed Files:
public/components/index.tsx#L28
Insert `⏎·····`
|
Lint Changed Files:
public/components/index.tsx#L29
Replace `······` with `········`
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, lots0logs/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Get node and yarn versions
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/
|
Get node and yarn versions
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 Changed Files:
public/components/application_analytics/components/application.tsx#L135
Unexpected any. Specify a different type
|
Lint Changed Files:
public/components/application_analytics/components/application.tsx#L158
Unexpected any. Specify a different type
|
Lint Changed Files:
public/components/application_analytics/components/application.tsx#L284
Unexpected any. Specify a different type
|
Lint Changed Files:
public/components/application_analytics/components/application.tsx#L311
Unexpected any. Specify a different type
|
Lint Changed Files:
public/components/common/search/search_bar.tsx#L72
Unexpected any. Specify a different type
|
Lint Changed Files:
public/components/common/search/search_bar.tsx#L82
Unexpected any. Specify a different type
|
Lint Changed Files:
public/components/common/search/search_bar.tsx#L83
Unexpected any. Specify a different type
|
Lint Changed Files:
public/components/common/search/search_bar.tsx#L251
React Hook useEffect has missing dependencies: 'dispatch', 'getAvailableFields', 'handleQueryChange', and 'tabId'. Either include them or remove the dependency array. If 'handleQueryChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Lint Changed Files:
public/components/event_analytics/explorer/context/context.tsx#L51
React Hook useMemo has an unnecessary dependency: 'services'. Either exclude it or remove the dependency array. Outer scope values like 'services' aren't valid dependencies because mutating them doesn't re-render the component
|
Lint Changed Files:
public/components/event_analytics/explorer/context/context.tsx#L53
Unexpected any. Specify a different type
|
Loading