Skip to content

Feature/21 navbar

Feature/21 navbar #45

Triggered via pull request September 2, 2024 21:41
Status Failure
Total duration 55s
Artifacts

analysis.yml

on: pull_request
ESLint Check
44s
ESLint Check
Prettier Check
38s
Prettier Check
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Prettier Check
Process completed with exit code 1.
ESLint Check: apps/frontend/src/components/ui/switch.tsx#L1
Replace `"use·client"` with `'use·client';`
ESLint Check: apps/frontend/src/components/ui/switch.tsx#L3
Run autofix to sort these imports!
ESLint Check: apps/frontend/src/components/ui/switch.tsx#L3
Replace `"react"` with `'react';`
ESLint Check: apps/frontend/src/components/ui/switch.tsx#L4
Replace `"@radix-ui/react-switch"` with `'@radix-ui/react-switch';`
ESLint Check: apps/frontend/src/components/ui/switch.tsx#L6
Replace `"@/lib/utils"` with `'@/lib/utils';`
ESLint Check: apps/frontend/src/components/ui/switch.tsx#L11
'className' is missing in props validation
ESLint Check: apps/frontend/src/components/ui/switch.tsx#L14
Replace `"peer·inline-flex·h-6·w-11·shrink-0·cursor-pointer·items-center·rounded-full·border-2·border-transparent·transition-colors·focus-visible:outline-none·focus-visible:ring-2·focus-visible:ring-slate-950·focus-visible:ring-offset-2·focus-visible:ring-offset-white·disabled:cursor-not-allowed·disabled:opacity-50·data-[state=checked]:bg-slate-900·data-[state=unchecked]:bg-slate-200·dark:focus-visible:ring-slate-300·dark:focus-visible:ring-offset-slate-950·dark:data-[state=checked]:bg-slate-50·dark:data-[state=unchecked]:bg-slate-800"` with `'peer·inline-flex·h-6·w-11·shrink-0·cursor-pointer·items-center·rounded-full·border-2·border-transparent·transition-colors·focus-visible:outline-none·focus-visible:ring-2·focus-visible:ring-slate-950·focus-visible:ring-offset-2·focus-visible:ring-offset-white·disabled:cursor-not-allowed·disabled:opacity-50·data-[state=checked]:bg-slate-900·data-[state=unchecked]:bg-slate-200·dark:focus-visible:ring-slate-300·dark:focus-visible:ring-offset-slate-950·dark:data-[state=checked]:bg-slate-50·dark:data-[state=unchecked]:bg-slate-800'`
ESLint Check: apps/frontend/src/components/ui/switch.tsx#L22
Replace `"pointer-events-none·block·h-5·w-5·rounded-full·bg-white·shadow-lg·ring-0·transition-transform·data-[state=checked]:translate-x-5·data-[state=unchecked]:translate-x-0·dark:bg-slate-950"` with `'pointer-events-none·block·h-5·w-5·rounded-full·bg-white·shadow-lg·ring-0·transition-transform·data-[state=checked]:translate-x-5·data-[state=unchecked]:translate-x-0·dark:bg-slate-950'`