Skip to content

Merge branch 'tmp_i18n' into feat_i18n #501

Merge branch 'tmp_i18n' into feat_i18n

Merge branch 'tmp_i18n' into feat_i18n #501

Triggered via push July 18, 2024 08:54
Status Failure
Total duration 51s
Artifacts

lint.yml

on: push
Run ESLint
37s
Run ESLint
Run Type Check
40s
Run Type Check
Run Prettier Check
33s
Run Prettier Check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
Run Prettier Check
Process completed with exit code 1.
Run ESLint
Process completed with exit code 1.
Run Type Check: src/components/side/TagList.tsx#L87
Type 'TFunction<"home", undefined>' is not assignable to type '(key: string, total?: any) => string'.
Run Type Check: src/components/user/CommentList.tsx#L75
Type '{ user: UserStatusProps; footerRight: () => Element; comment: string; belong_id: string; belong: "article" | "repository"; cid: string; votes: number; score: number; ... 11 more ...; key: string; }' is missing the following properties from type '{ t: (key: string, total?: any) => string; i18n_lang: string; className?: string | undefined; alone?: boolean | undefined; footerRight?: ((data: CommentItemData) => ReactNode) | undefined; onChangeVote?: ((value: boolean) => void) | undefined; onReply?: ((cid: string, reply_id?: string | undefined) => void) | undefi...': t, i18n_lang
Run Type Check: src/hooks/useTagHandling.tsx#L21
Argument of type '{ name: string; tid: string; icon_name: string; }' is not assignable to parameter of type 'Tag'.
Run Type Check: src/pages/repository/[rid]/index.tsx#L34
Type 'TFunction<"repository", undefined>' is not assignable to type '(key: string, total?: any) => string'.
Run Type Check: src/pages/repository/[rid]/index.tsx#L35
Type 'TFunction<"repository", undefined>' is not assignable to type '(key: string, total?: any) => string'.
Run Type Check: src/pages/repository/[rid]/index.tsx#L41
Type 'TFunction<"repository", undefined>' is not assignable to type '(key: string, total?: any) => string'.
Run Type Check: src/pages/tags/[tid].tsx#L22
Property 'i18n_lang' is missing in type '{ repositories: HomeItem[]; }' but required in type 'Props'.
Run Type Check
Process completed with exit code 2.
Run Prettier Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Prettier Check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run ESLint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run ESLint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run ESLint: src/components/dialog/TagModal.tsx#L1
'TFunction' is defined but never used
Run ESLint: src/pages/search/result/index.tsx#L1
Run autofix to sort these imports!
Run Type Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Type Check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/