Skip to content

feat: tagList i18n #491

feat: tagList i18n

feat: tagList i18n #491

Triggered via push July 12, 2024 09:45
Status Failure
Total duration 4m 30s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 6 warnings
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 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/
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/