Skip to content

fix lint errors

fix lint errors #4

Triggered via push June 7, 2024 02:15
Status Failure
Total duration 48s
Artifacts

deploy.yml

on: push
⬣ ESLint
36s
⬣ ESLint
ʦ TypeScript
26s
ʦ TypeScript
⚡ Vitest
37s
⚡ Vitest
🎭 Playwright
20s
🎭 Playwright
🚀 Deploy
0s
🚀 Deploy
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 15 warnings
🎭 Playwright
Process completed with exit code 1.
ʦ TypeScript: app/utils/misc.error-message.test.ts#L3
Cannot find module '#tests/setup/setup-test-env.ts' or its corresponding type declarations.
ʦ TypeScript: app/utils/misc.use-double-check.test.tsx#L36
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
ʦ TypeScript: app/utils/misc.use-double-check.test.tsx#L37
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
ʦ TypeScript: app/utils/misc.use-double-check.test.tsx#L40
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
ʦ TypeScript: app/utils/misc.use-double-check.test.tsx#L41
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
ʦ TypeScript: app/utils/misc.use-double-check.test.tsx#L44
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
ʦ TypeScript: app/utils/misc.use-double-check.test.tsx#L45
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
ʦ TypeScript: app/utils/misc.use-double-check.test.tsx#L56
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
ʦ TypeScript: app/utils/misc.use-double-check.test.tsx#L57
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
ʦ TypeScript: app/utils/misc.use-double-check.test.tsx#L61
Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
⚡ Vitest
Process completed with exit code 1.
🎭 Playwright
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
ʦ TypeScript
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
⬣ ESLint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
⬣ ESLint: app/@/components/ui/button.tsx#L1
`react` import should occur after import of `class-variance-authority`
⬣ ESLint: app/@/components/ui/label.tsx#L1
`react` import should occur after import of `class-variance-authority`
⬣ ESLint: app/@/components/ui/select.tsx#L1
`react` import should occur after import of `lucide-react`
⬣ ESLint: app/components/emails/team-summary.tsx#L14
`#app/images/github.tsx` import should occur before import of `#app/utils/types.tsx`
⬣ ESLint: app/components/github-contribution-summary.tsx#L7
`./spinner` import should occur before import of `#app/utils/types.tsx`
⬣ ESLint: app/components/member-item.tsx#L1
Prefer using inline type specifiers instead of a top-level type-only import
⬣ ESLint: app/components/member-item.tsx#L3
`#app/components/ui/icon.tsx` import should occur before type import of `#app/utils/types`
⬣ ESLint: app/components/member-item.tsx#L4
`@remix-run/react` import should occur before type import of `#app/utils/types`
⬣ ESLint: app/jobs/weekly_report.server.tsx#L1
`@trigger.dev/sdk` import should occur after type import of `@prisma/client`
⬣ ESLint: app/jobs/weekly_report.server.tsx#L2
'/home/runner/work/contribution-analyzer/contribution-analyzer/node_modules/@prisma/client/default.js' imported multiple times
⚡ Vitest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.