Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add timezone to user profile #28586

Add timezone to user profile

Add timezone to user profile #28586

Triggered via pull request September 8, 2024 10:07
Status Failure
Total duration 1m 34s
Artifacts

static_analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
i18n Check / check
Process completed with exit code 1.
ESLint: src/components/views/right_panel/UserInfo.tsx#L32
'MatrixError' is defined but never used
ESLint: src/hooks/useUserTimezone.ts#L1
Copyright heading is required
ESLint: src/hooks/useUserTimezone.ts#L1
There should be at least one empty line between import groups
ESLint: src/hooks/useUserTimezone.ts#L2
There should be at least one empty line between import groups
ESLint: src/hooks/useUserTimezone.ts#L3
`matrix-js-sdk/src/matrix` import should occur before import of `../MatrixClientPeg`
ESLint: src/hooks/useUserTimezone.ts#L29
React Hook useEffect has a missing dependency: 'cli'. Either include it or remove the dependency array
ESLint: src/hooks/useUserTimezone.ts#L51
A function with a name starting with an uppercase letter should only be used as a constructor
ESLint: src/hooks/useUserTimezone.ts#L53
Missing return type on function
ESLint: src/hooks/useUserTimezone.ts#L72
React Hook useEffect has a missing dependency: 'cli'. Either include it or remove the dependency array
ESLint: src/settings/Settings.tsx#L45
There should be at least one empty line between import groups
Typescript Syntax Check: src/components/structures/LoggedInView.tsx#L222
Property 'deleteExtendedProfileProperty' does not exist on type 'MatrixClient'.
Typescript Syntax Check: src/components/structures/LoggedInView.tsx#L233
Property 'setExtendedProfileProperty' does not exist on type 'MatrixClient'.
Typescript Syntax Check: src/components/views/right_panel/UserInfo.tsx#L32
'MatrixError' is declared but its value is never read.
Typescript Syntax Check: src/components/views/settings/UserPersonalInfoSettings.tsx#L135
Argument of type '"settings|general|timezone"' is not assignable to parameter of type '"a11y_jump_first_unread_room" | "cannot_invite_without_identity_server" | "cannot_reach_homeserver" | "cannot_reach_homeserver_detail" | "cant_load_page" | "chat_card_back_action_label" | ... 3460 more ... | "zxcvbn|warnings|wordByItself"'.
Typescript Syntax Check: src/hooks/useUserTimezone.ts#L26
Property 'doesServerSupportExtendedProfiles' does not exist on type 'MatrixClient'.
Typescript Syntax Check: src/hooks/useUserTimezone.ts#L26
Parameter 'ex' implicitly has an 'any' type.
Typescript Syntax Check: src/hooks/useUserTimezone.ts#L45
Property 'getExtendedProfileProperty' does not exist on type 'MatrixClient'.
Typescript Syntax Check: src/settings/Settings.tsx#L46
Module '"matrix-js-sdk/src/client"' has no exported member 'UNSTABLE_MSC4133_EXTENDED_PROFILES'.
Typescript Syntax Check
Process completed with exit code 2.
i18n Check / check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, tj-actions/changed-files@1c26215f3fbd51eba03bc199e5cbabdfc3584ce3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/