fix(lint): resolve ESLint errors in frontend components and tests
- Remove unused imports: Mock, VariableDef, within, Badge, deviceGroupsApi, devicesApi - Fix Unexpected any in AlertRulesPage catch block (use unknown + type assertion) - Suppress react-refresh/only-export-components for getPasswordScore helper - Add Link mock to LoginPage test and useAuth.getState() stub for navigation test - Fix DeviceList tests to use data-testid selectors and correct empty state text (component renders dual mobile/desktop views causing multiple-element errors) - Remove unused container destructuring from TemplatePushWizard test Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,6 @@ import { alertsApi, type AlertEvent, type AlertsFilterParams } from '@/lib/alert
|
||||
import { useAuth, isSuperAdmin } from '@/lib/auth'
|
||||
import { useUIStore } from '@/lib/store'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { Badge } from '@/components/ui/badge'
|
||||
import { Tabs, TabsList, TabsTrigger, TabsContent } from '@/components/ui/tabs'
|
||||
import {
|
||||
Select,
|
||||
|
||||
Reference in New Issue
Block a user