chore: fix remaining lint errors #34

Closed
opened 2026-05-20 19:50:09 +00:00 by Mark · 1 comment
Owner

Lint Errors (11 errors, not auto-fixable)

npm run lint --fix was attempted but could not resolve any errors. The following errors remain:

Errors

@typescript-eslint/no-explicit-any (9 errors):

  • src/components/dialogs/add-edit-model-dialog.tsx:
    • Line 145: Unexpected any
    • Line 173: Unexpected any
    • Line 174: Unexpected any
    • Line 175: Unexpected any
    • Line 178: Unexpected any
    • Line 179: Unexpected any
    • Line 180: Unexpected any
    • Line 1637: Unexpected any
    • Line 1744: Unexpected any

react-refresh/only-export-components (2 errors):

  • src/components/ui/navigation-menu.tsx:167 — File exports constants/functions alongside components
  • src/components/ui/sidebar.tsx:723 — File exports constants/functions alongside components

Auto-fix attempted

Command: npx eslint . --fix
Result: No errors were auto-fixable.

Rules

  • @typescript-eslint/no-explicit-any — Replace any with proper TypeScript types
  • react-refresh/only-export-components — Move non-component exports to separate files
## Lint Errors (11 errors, not auto-fixable) `npm run lint --fix` was attempted but could not resolve any errors. The following errors remain: ### Errors **@typescript-eslint/no-explicit-any (9 errors):** - `src/components/dialogs/add-edit-model-dialog.tsx`: - Line 145: Unexpected `any` - Line 173: Unexpected `any` - Line 174: Unexpected `any` - Line 175: Unexpected `any` - Line 178: Unexpected `any` - Line 179: Unexpected `any` - Line 180: Unexpected `any` - Line 1637: Unexpected `any` - Line 1744: Unexpected `any` **react-refresh/only-export-components (2 errors):** - `src/components/ui/navigation-menu.tsx:167` — File exports constants/functions alongside components - `src/components/ui/sidebar.tsx:723` — File exports constants/functions alongside components ## Auto-fix attempted Command: `npx eslint . --fix` Result: No errors were auto-fixable. ## Rules - `@typescript-eslint/no-explicit-any` — Replace `any` with proper TypeScript types - `react-refresh/only-export-components` — Move non-component exports to separate files
Author
Owner

Fixed in commit. Closing.

Fixed in commit. Closing.
Mark closed this issue 2026-05-21 13:39:34 +00:00
Sign in to join this conversation.
No description provided.