Skip to content

Add account deactivation email template and header component #252

Add account deactivation email template and header component

Add account deactivation email template and header component #252

Triggered via pull request July 21, 2024 16:21
Status Failure
Total duration 27s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
eslint: app/components/email-deactivation-template/Body.tsx#L1
Replace `'react'` with `"react"`
eslint: app/components/email-deactivation-template/Body.tsx#L3
The variable `BodyProps` should be named `BodyProperties`. A more descriptive name will do too
eslint: app/components/email-deactivation-template/Body.tsx#L14
Replace `·name,·email,·lastActive,·deactivationDate,·supportEmail,·title,·supportPhone,·image·` with `⏎··name,⏎··email,⏎··lastActive,⏎··deactivationDate,⏎··supportEmail,⏎··title,⏎··supportPhone,⏎··image,⏎`
eslint: app/components/email-deactivation-template/Body.tsx#L16
Replace `⏎····<img·src={image}·alt="Error·icon"·className="w-1/12·img-width·mx-auto·my-12"` with `····<img⏎······src={image}⏎······alt="Error·icon"⏎······className="img-width·mx-auto·my-12·w-1/12"⏎···`
eslint: app/components/email-deactivation-template/Body.tsx#L19
Replace `'text-lg·text-center·font-bold·my-8'` with `"my-8·text-center·text-lg·font-bold"`
eslint: app/components/email-deactivation-template/Body.tsx#L21
Replace `········<div·className='w-4/5·mx-auto·my-12'` with `····<div·className="mx-auto·my-12·w-4/5"`
eslint: app/components/email-deactivation-template/Body.tsx#L22
Replace `············` with `······`
eslint: app/components/email-deactivation-template/Body.tsx#L23
Replace `······<p·className="mb-4">We·hope·this·email·finds·you·well.·We·wanted·to·inform·you·that·your·account·has·been·deactivated·due·to·a·prolonged·period·of·inactivity.</p>` with `<p·className="mb-4">⏎········We·hope·this·email·finds·you·well.·We·wanted·to·inform·you·that·your⏎········account·has·been·deactivated·due·to·a·prolonged·period·of·inactivity.`
eslint: app/components/email-deactivation-template/Body.tsx#L24
Replace `············` with `······</p>⏎`