Conversion to sanity #55
deploy.yml
on: pull_request
⬣ ESLint
41s
ʦ TypeScript
44s
Annotations
3 errors and 12 warnings
ʦ TypeScript:
app/routes/newsletter/$issueNumber/index.tsx#L28
Property 'messageBody' does not exist on type 'Newsletter'.
|
ʦ TypeScript:
app/routes/newsletter/$issueNumber/index.tsx#L52
Type '{ messageBody: string[]; _id: string; _createdAt: string; _updatedAt: string; subject: string; preview: string; body: string; sendAt: string; shouldSend: boolean; sendGridId: string; sendGridDesignId: string; author: SerializeObject<...>; }' is not assignable to type 'IntrinsicAttributes & NewsletterEmailProps'.
|
ʦ TypeScript
Process completed with exit code 1.
|
⬣ ESLint
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/cancel-workflow-action@0.9.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
⬣ ESLint:
app/animations/AniLink.tsx#L9
Unnecessarily computed property ["wave-border bottom inline-block"] found
|
⬣ ESLint:
app/animations/LifeAni.tsx#L3
All imports in the declaration are only used as types. Use `import type`
|
⬣ ESLint:
app/animations/Me.tsx#L3
All imports in the declaration are only used as types. Use `import type`
|
⬣ ESLint:
app/animations/MotionAni.tsx#L3
All imports in the declaration are only used as types. Use `import type`
|
⬣ ESLint:
app/animations/VideoAni.tsx#L3
All imports in the declaration are only used as types. Use `import type`
|
⬣ ESLint:
app/components/Layout.tsx#L1
Import "PropsWithChildren" is only used as types
|
⬣ ESLint:
app/components/StoriesSection.tsx#L1
Imports "PropsWithChildren" and "ReactElement" are only used as types
|
⬣ ESLint:
app/components/Topbar.tsx#L4
'ThemeSwitch' is defined but never used
|
⬣ ESLint:
app/emails/NewPostNewsletter.tsx#L65
'MDXStory' is assigned a value but never used
|
⬣ ESLint:
app/helpers/generateEmailTemplates.ts#L1
'render' is defined but never used
|
ʦ TypeScript
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/cancel-workflow-action@0.9.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|