Skip to content

[WEB-2001]feat: Cache issues on the client #5552

[WEB-2001]feat: Cache issues on the client

[WEB-2001]feat: Cache issues on the client #5552

Triggered via pull request September 24, 2024 11:18
Status Failure
Total duration 5m 0s
Artifacts

build-test-pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 30 warnings
lint-web
web#lint: command (/home/runner/work/plane/plane/web) /tmp/yarn--1727176811898-0.7050793839328413/yarn run lint exited (1)
lint-web: web/app/profile/page.tsx#L38
`@/plane-web/constants/issues` import should occur before import of `@/services/file.service`
lint-web: web/core/layouts/auth-layout/project-wrapper.tsx#L29
`@/local-db/storage.sqlite` import should occur before import of `@/plane-web/constants/user-permissions`
lint-web: web/core/layouts/auth-layout/workspace-wrapper.tsx#L22
`@/local-db/storage.sqlite` import should occur before import of `@/plane-web/constants/user-permissions`
lint-web: web/core/local-db/storage.sqlite.ts#L58
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
lint-web: web/core/local-db/utils/query.utils.ts#L82
'sql' is never reassigned. Use 'const' instead
lint-web: web/core/store/user/index.ts#L22
`@/plane-web/constants/issues` import should occur before import of `@/plane-web/constants/user-permissions`
lint-web
Process completed with exit code 1.
lint-admin: admin/app/authentication/github/page.tsx#L84
Expected an assignment or function call and instead saw an expression
lint-admin: admin/app/authentication/gitlab/page.tsx#L71
Expected an assignment or function call and instead saw an expression
lint-admin: admin/app/authentication/google/page.tsx#L72
Expected an assignment or function call and instead saw an expression
lint-admin: admin/app/authentication/page.tsx#L83
Expected an assignment or function call and instead saw an expression
lint-admin: admin/ce/store/root.store.ts#L12
Unexpected any. Specify a different type
lint-admin: admin/core/components/authentication/email-config-switch.tsx#L28
Expected an assignment or function call and instead saw an expression
lint-admin: admin/core/components/authentication/github-config.tsx#L40
Expected an assignment or function call and instead saw an expression
lint-admin: admin/core/components/authentication/gitlab-config.tsx#L40
Expected an assignment or function call and instead saw an expression
lint-admin: admin/core/components/authentication/google-config.tsx#L40
Expected an assignment or function call and instead saw an expression
lint-admin: admin/core/components/authentication/password-config-switch.tsx#L28
Expected an assignment or function call and instead saw an expression
lint-space: space/app/[workspaceSlug]/[projectId]/page.ts#L14
Unexpected any. Specify a different type
lint-space: space/app/[workspaceSlug]/[projectId]/page.ts#L26
'error' is defined but never used
lint-space: space/core/components/account/auth-forms/password.tsx#L112
Expected an assignment or function call and instead saw an expression
lint-space: space/core/components/issues/filters/applied-filters/priority.tsx#L20
Unexpected any. Specify a different type
lint-space: space/core/components/issues/filters/applied-filters/root.tsx#L29
Unexpected any. Specify a different type
lint-space: space/core/components/issues/filters/applied-filters/root.tsx#L42
Unexpected any. Specify a different type
lint-space: space/core/components/issues/filters/applied-filters/root.tsx#L89
Unexpected any. Specify a different type
lint-space: space/core/components/issues/filters/root.tsx#L65
Unexpected any. Specify a different type
lint-space: space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx#L40
React Hook useCallback has missing dependencies: 'anchor' and 'getIssueLoader'. Either include them or remove the dependency array
lint-space: space/core/components/issues/issue-layouts/list/base-list-root.tsx#L44
React Hook useCallback has a missing dependency: 'anchor'. Either include it or remove the dependency array
lint-web: web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/settings/labels/page.tsx#L41
React Hook useEffect has an unnecessary dependency: 'scrollableContainerRef.current'. Either exclude it or remove the dependency array. Mutable values like 'scrollableContainerRef.current' aren't valid dependencies because mutating them doesn't re-render the component
lint-web: web/app/[workspaceSlug]/(projects)/sidebar.tsx#L47
Expected an assignment or function call and instead saw an expression
lint-web: web/app/accounts/set-password/page.tsx#L95
Unexpected any. Specify a different type
lint-web: web/app/create-workspace/page.tsx#L65
Unexpected any. Specify a different type
lint-web: web/app/onboarding/page.tsx#L47
Expected an assignment or function call and instead saw an expression
lint-web: web/app/profile/security/page.tsx#L82
Unexpected any. Specify a different type
lint-web: web/ce/components/pages/editor/embed/issue-embed-upgrade-card.tsx#L6
Unexpected any. Specify a different type
lint-web: web/ce/components/views/access-controller.tsx#L2
Unexpected any. Specify a different type
lint-web: web/ce/components/views/filters/access-filter.tsx#L2
Unexpected any. Specify a different type
lint-web: web/ce/services/project/view.service.ts#L27
Unexpected any. Specify a different type