Skip to content

[Backport 2.x] [Workspace] Fix non-workspace admin update observability:defaultDashboard #2132

[Backport 2.x] [Workspace] Fix non-workspace admin update observability:defaultDashboard

[Backport 2.x] [Workspace] Fix non-workspace admin update observability:defaultDashboard #2132

Triggered via pull request October 22, 2024 17:47
Status Failure
Total duration 4m 13s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
Lint: public/plugin.tsx#L480
Insert `··`
Lint: public/plugin.tsx#L481
Insert `··`
Lint: public/plugin.tsx#L482
Insert `··`
Lint: public/plugin.tsx#L483
Insert `··`
Lint: public/plugin.tsx#L484
Insert `··`
Lint: public/plugin.tsx#L485
Insert `··`
Lint: public/plugin.tsx#L486
Insert `··`
Lint: public/plugin.tsx#L487
Insert `··`
Lint: public/plugin.tsx#L488
Insert `··`
Lint: public/plugin.tsx#L489
Insert `··`
Lint
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/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, lots0logs/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/overview/home.tsx#L65
React Hook useMemo has unnecessary dependencies: 'coreRefs.application.capabilities' and 'coreRefs.workspaces.currentWorkspace$'. Either exclude them or remove the dependency array. Outer scope values like 'coreRefs.workspaces.currentWorkspace$' aren't valid dependencies because mutating them doesn't re-render the component
Lint: public/components/overview/home.tsx#L149
React Hook useEffect has a missing dependency: 'loadDashboardState'. Either include it or remove the dependency array
Lint: public/components/overview/home.tsx#L373
React Hook useEffect has a missing dependency: 'loadDashboardsState'. Either include it or remove the dependency array