Skip to content

Feat/39 password setting page implementation #122

Feat/39 password setting page implementation

Feat/39 password setting page implementation #122

Triggered via pull request July 21, 2024 01:58
Status Failure
Total duration 31s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
eslint: app/components/passwordSetting/PasswordField.tsx#L6
Replace `event:·React.MouseEvent<HTMLButtonElement>,·id:·number` with `⏎····event:·React.MouseEvent<HTMLButtonElement>,⏎····id:·number,⏎··`
eslint: app/components/passwordSetting/PasswordField.tsx#L28
Replace `flex-col·gap-2·w-full` with `w-full·flex-col·gap-2`
eslint: app/components/passwordSetting/PasswordField.tsx#L30
Replace `·className={`${className}·border·border-[#939393]·w-[100%]·md:w-[50%]·flex·items-center·rounded-md·bg-[#fffefe]·py-3·px-4`}` with `⏎········className={`${className}·flex·w-[100%]·items-center·rounded-md·border·border-[#939393]·bg-[#fffefe]·px-4·py-3·md:w-[50%]`}⏎······`
eslint: app/components/passwordSetting/PasswordField.tsx#L35
Replace `''` with `""`
eslint: app/components/passwordSetting/PasswordField.tsx#L37
Replace `bg-transparent··outline-none·text-[#939393]·border-none·flex-1` with `flex-1·border-none·bg-transparent·text-[#939393]·outline-none`
eslint: app/components/passwordSetting/PasswordField.tsx#L40
Replace `·type="button"·onClick={(event)·=>·changeVisibility(event,·field.id)}` with `⏎··········type="button"⏎··········onClick={(event)·=>·changeVisibility(event,·field.id)}⏎········`
eslint: app/components/passwordSetting/PasswordField.tsx#L41
Replace `<EyeOff·className="text-[24px]"·/>·:·<Eye·className="text-[24px]"·/>` with `(⏎············<EyeOff·className="text-[24px]"·/>⏎··········)·:·(⏎············<Eye·className="text-[24px]"·/>⏎··········)`
eslint: app/components/passwordSetting/PasswordSettingComp.tsx#L1
Insert `import·{·ActionFunctionArgs·}·from·"@remix-run/node";⏎import·{·Link·}·from·"@remix-run/react";⏎import·{·CheckCircle2·}·from·"lucide-react";⏎import·{·useEffect,·useState·}·from·"react";⏎⏎`
eslint: app/components/passwordSetting/PasswordSettingComp.tsx#L4
'AlertDialogCancel' is defined but never used
eslint: app/components/passwordSetting/PasswordSettingComp.tsx#L25
'props' is defined but never used. Allowed unused args must match /^_/u
eslint: app/components/passwordSetting/PasswordSettingComp.tsx#L40
'isSubmitting' is assigned a value but never used. Allowed unused vars must match /^_/u
eslint: app/components/passwordSetting/PasswordSettingComp.tsx#L41
'isWeak' is assigned a value but never used. Allowed unused vars must match /^_/u
eslint: app/components/passwordSetting/PasswordSettingComp.tsx#L76
React Hook useEffect has a missing dependency: 'handleCurrentPasswordValidation'. Either include it or remove the dependency array
eslint: app/components/passwordSetting/functions/PasswordFunctions.tsx#L63
'id' is defined but never used. Allowed unused args must match /^_/u