lukecarr/tiny-todo

View on GitHub

Showing 2 of 5 total issues

Function NewTask has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const NewTask: FunctionalComponent = () => {
  const { register, handleSubmit, reset, formState: { errors } } = useForm<TaskInput>({
    resolver: zodResolver(TaskSchema),
  })
  
Severity: Minor
Found in frontend/src/routes/todos.tsx - About 1 hr to fix

    Function About has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const About: FunctionalComponent = () => {
      useEffect(() => {
        document.title = 'about :: tiny-todo'
      }, [])
    
    
    Severity: Minor
    Found in frontend/src/routes/about.tsx - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language