mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
Warning: 17:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 25:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 40:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 53:31 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/packages/spark-tools/src/sparkVitePlugin.ts Warning: 3:10 warning 'resolve' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 19:20 warning 'config' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 19:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/packages/spark-tools/src/vitePhosphorIconProxyPlugin.ts Warning: 24:15 warning 'code' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 24:29 warning 'id' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/packages/spark/src/spark-runtime.ts Warning: 11:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 14:89 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 19:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 34:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 47:31 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/packages/spark/src/types.d.ts Warning: 11:19 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 12:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 17:77 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 18:26 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/App.new.tsx Warning: 2:17 warning 'Toaster' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 90:33 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 116:32 warning 'exportDialogOpen' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 116:50 warning 'setExportDialogOpen' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 116:71 warning 'generatedCode' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 116:86 warning 'handleDownloadZip' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/App.refactored.tsx Warning: 2:10 warning 'useKV' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 79:39 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/App.router.tsx Warning: 13:10 warning 'LoadingFallback' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 161:39 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 315:11 warning 'featureToggles' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 359:9 warning 'stateContext' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 365:9 warning 'actionContext' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/App.simple.tsx Warning: 58:30 warning 'project' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/App.tsx Warning: 13:10 warning 'LoadingFallback' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 168:39 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/ErrorPanel.tsx Warning: 9:10 warning 'Separator' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 37:10 warning 'autoRepairEnabled' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 37:29 warning 'setAutoRepairEnabled' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 155:9 warning 'toggleErrorExpanded' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 208:6 warning React Hook useEffect has missing dependencies: 'errors.length', 'files.length', and 'scanForErrors'. Either include them or remove the dependency array react-hooks/exhaustive-deps Warning: 321:85 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/FaviconDesigner.tsx Warning: 7:10 warning 'Tabs' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 7:16 warning 'TabsContent' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 7:29 warning 'TabsList' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 7:39 warning 'TabsTrigger' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 25:3 warning 'ArrowCounterClockwise' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 27:3 warning 'FloppyDisk' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 33:3 warning 'MagicWand' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 129:6 warning React Hook useEffect has a missing dependency: 'drawCanvas'. Either include it or remove the dependency array react-hooks/exhaustive-deps Warning: 268:11 warning 'data' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 696:13 warning 'imageData' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/FeatureIdeaCloud.tsx Warning: 235:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 237:62 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 371:9 warning The 'safeGroups' logical expression could make the dependencies of useEffect Hook (at line 441) change on every render. To fix this, wrap the initialization of 'safeGroups' in its own useMemo() Hook react-hooks/exhaustive-deps Warning: 372:9 warning The 'safeEdges' logical expression could make the dependencies of useEffect Hook (at line 446) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'safeEdges' in its own useMemo() Hook react-hooks/exhaustive-deps Warning: 373:9 warning The 'safeNodePositions' logical expression could make the dependencies of useEffect Hook (at line 441) change on every render. Move it inside the useEffect callback. Alternatively, wrap the initialization of 'safeNodePositions' in its own useMemo() Hook react-hooks/exhaustive-deps Warning: 470:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 472:43 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 496:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 924:65 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 1324:101 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 1339:99 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/FeatureIdeaCloud/utils.ts Warning: 8:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 13:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/FeatureIdeaCloud/utils.tsx Warning: 50:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 55:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/FeatureToggleSettings.tsx Warning: 1:16 warning 'CardContent' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 2:10 warning 'Label' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/FileExplorer.tsx Warning: 179:44 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/FlaskDesigner.tsx Warning: 461:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 548:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/JSONComponentTreeManager.tsx Warning: 6:10 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 7:36 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 7:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 10:44 warning 'trees' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 10:51 warning 'onTreesChange' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 13:45 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 13:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/JSONDemoPage.tsx Warning: 16:34 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 16:47 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 20:30 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 30:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 31:30 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 40:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 41:33 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 134:44 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/JSONModelDesigner.tsx Warning: 6:11 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 7:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 10:37 warning 'models' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 10:45 warning 'onModelsChange' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 13:45 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 13:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/JSONPageRenderer.tsx Warning: 12:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 19:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 24:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 30:20 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 31:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 32:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 36:25 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 38:25 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 39:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 39:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 42:63 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 42:70 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 51:44 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 52:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 79:31 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 95:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 105:29 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 128:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 148:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 148:55 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 167:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 188:33 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 205:57 warning 'props' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 205:64 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/JSONUIPage.tsx Warning: 3:37 warning 'Layout' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 7:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 11:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 15:41 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 17:79 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 27:66 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 37:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/JSONUIShowcase.tsx Warning: 12:10 warning 'FileCode' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 45:9 warning 'currentExample' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/JSONWorkflowDesigner.tsx Warning: 6:14 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 7:44 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 7:54 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 10:40 warning 'workflows' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 10:51 warning 'onWorkflowsChange' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 13:45 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 13:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/KeyboardShortcutsDialog.tsx Warning: 8:10 warning 'Card' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 8:16 warning 'CardContent' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/LambdaDesigner.tsx Warning: 4:16 warning 'CardContent' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 225:59 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/NavigationMenu.tsx Warning: 28:3 warning 'Cloud' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/PlaywrightDesigner.tsx Warning: 246:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/ProjectDashboard.new.tsx Warning: 17:41 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 50:34 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/ProjectSettingsDesigner.tsx Warning: 326:44 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/SassStylesShowcase.tsx Warning: 2:10 warning 'ScrollArea' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 4:10 warning 'Badge' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 5:10 warning 'Button' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 6:10 warning 'Code' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 6:16 warning 'Palette' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 6:25 warning 'Sparkle' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/SchemaEditorPage.tsx Warning: 30:5 warning 'handleDragEnd' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 103:26 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/StorybookDesigner.tsx Warning: 56:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 78:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/TemplateExplorer.tsx Warning: 41:32 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 160:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/UnitTestDesigner.tsx Warning: 251:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/WorkflowDesigner.tsx Warning: 26:3 warning 'Sparkle' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 33:3 warning 'Pencil' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 301:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 346:63 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/atoms/ComponentPaletteItem.tsx Warning: 13:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/atoms/ComponentTreeNode.tsx Warning: 38:41 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/atoms/DataList.tsx Warning: 5:10 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 6:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/atoms/DetailRow.tsx Warning: 1:10 warning 'Card' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 1:16 warning 'CardContent' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/atoms/PropertyEditorField.tsx Warning: 10:10 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 13:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/atoms/SeedDataStatus.tsx Warning: 3:20 warning 'Check' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 3:27 warning 'X' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/atoms/json-ui/IconRenderer.tsx Warning: 1:10 warning 'ReactNode' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 2:10 warning 'ComponentSchema' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 4:10 warning 'cn' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 14:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/CanvasRenderer.tsx Warning: 36:11 warning 'def' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/ComponentBindingDialog.tsx Warning: 32:52 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/ComponentTree.tsx Warning: 4:10 warning 'Button' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 5:16 warning 'Plus' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/DataSourceCard.tsx Warning: 3:10 warning 'Input' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 4:10 warning 'Label' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/DataSourceEditorDialog.tsx Warning: 6:10 warning 'Select' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 6:18 warning 'SelectContent' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 6:33 warning 'SelectItem' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 6:45 warning 'SelectTrigger' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 6:60 warning 'SelectValue' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 8:22 warning 'DataSourceType' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 111:30 warning 'err' is defined but never used @typescript-eslint/no-unused-vars Warning: 131:28 warning 'err' is defined but never used @typescript-eslint/no-unused-vars Warning: 151:30 warning 'err' is defined but never used @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/GitHubBuildStatus.tsx Warning: 48:50 warning 'defaultBranch' is assigned a value but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 57:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/LazyBarChart.tsx Warning: 7:30 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/LazyInlineMonacoEditor.tsx Warning: 16:13 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/LazyLineChart.tsx Warning: 7:30 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/LazyMonacoEditor.tsx Warning: 49:17 warning Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components react-refresh/only-export-components /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/PropertyEditor.tsx Warning: 28:49 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 41:86 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 41:101 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/molecules/TreeCard.tsx Warning: 1:16 warning 'CardContent' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/orchestration/ComponentRenderer.tsx Warning: 9:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 25:27 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 26:38 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 100:30 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 100:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/orchestration/PageRenderer.tsx Warning: 14:51 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 27:27 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 28:44 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/organisms/JSONUIShowcase.tsx Warning: 1:20 warning 'useEffect' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 11:11 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 12:12 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 13:16 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 23:32 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/organisms/SchemaCodeViewer.tsx Warning: 1:10 warning 'Button' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 4:16 warning 'Eye' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 9:11 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 12:36 warning 'components' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/organisms/SchemaEditorLayout.tsx Warning: 1:23 warning 'PageSchema' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/organisms/TreeListPanel.tsx Warning: 2:10 warning 'Button' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/ui/badge.tsx Warning: 46:17 warning Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components react-refresh/only-export-components /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/ui/button.tsx Warning: 64:18 warning Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components react-refresh/only-export-components /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/ui/form.tsx Warning: 157:3 warning Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components react-refresh/only-export-components /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/ui/navigation-menu.tsx Warning: 167:3 warning Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components react-refresh/only-export-components /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/ui/sidebar.tsx Warning: 725:3 warning Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components react-refresh/only-export-components /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/components/ui/toggle.tsx Warning: 45:18 warning Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components react-refresh/only-export-components /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/config/orchestration/PageRenderer.tsx Warning: 10:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 16:9 warning The 'context' object makes the dependencies of useCallback Hook (at line 30) change on every render. Move it inside the useCallback callback. Alternatively, wrap the initialization of 'context' in its own useMemo() Hook react-hooks/exhaustive-deps Warning: 24:34 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 48:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/config/orchestration/action-executor.ts Warning: 6:36 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 7:29 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 8:45 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 29:38 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 40:20 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/config/orchestration/component-registry.ts Warning: 31:62 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 66:59 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/config/orchestration/data-source-manager.ts Warning: 7:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 58:62 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 60:43 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/config/orchestration/schema.ts Warning: 29:31 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/config/page-loader.ts Warning: 97:95 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 97:131 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 97:153 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 104:39 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/core/use-clipboard.ts Warning: 14:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars Warning: 24:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-array.ts Warning: 6:9 warning The 'safeItems' logical expression could make the dependencies of useCallback Hook (at line 41) change on every render. To fix this, wrap the initialization of 'safeItems' in its own useMemo() Hook react-hooks/exhaustive-deps Warning: 6:9 warning The 'safeItems' logical expression could make the dependencies of useCallback Hook (at line 48) change on every render. To fix this, wrap the initialization of 'safeItems' in its own useMemo() Hook react-hooks/exhaustive-deps /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-crud.ts Warning: 17:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-data-source.ts Warning: 5:39 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 9:38 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 13:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 17:41 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 21:43 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 22:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 23:32 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-data-sources.ts Warning: 6:51 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 17:9 warning The 'kvStates' array makes the dependencies of useCallback Hook (at line 73) change on every render. To fix this, wrap the initialization of 'kvStates' in its own useMemo() Hook react-hooks/exhaustive-deps Warning: 17:9 warning The 'kvStates' array makes the dependencies of useCallback Hook (at line 111) change on every render. To fix this, wrap the initialization of 'kvStates' in its own useMemo() Hook react-hooks/exhaustive-deps Warning: 21:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 23:36 warning 'index' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars Warning: 39:6 warning React Hook useEffect has missing dependencies: 'dataSources', 'kvSources', and 'kvStates'. Either include them or remove the dependency array react-hooks/exhaustive-deps Warning: 57:60 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 75:74 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 91:20 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-filter.ts Warning: 6:10 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-json-data.ts Warning: 6:17 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 19:48 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 19:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 19:63 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 27:59 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 28:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 31:19 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-local-storage.ts Warning: 1:20 warning 'useEffect' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-pagination.ts Warning: 4:10 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 9:31 warning 'T' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-search-filter.ts Warning: 6:48 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 9:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 15:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 37:54 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-seed-templates.ts Warning: 12:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 126:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-selection.ts Warning: 9:55 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/data/use-sort.ts Warning: 11:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/forms/use-form-field.ts Warning: 3:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 8:34 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 14:34 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 65:38 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 71:60 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/forms/use-form.ts Warning: 9:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 19:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/json-ui/use-data-sources.ts Warning: 5:51 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 8:9 warning 'staticSources' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 20:41 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 42:66 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 52:34 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/json-ui/use-json-renderer.ts Warning: 2:10 warning 'ComponentSchema' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 6:51 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 6:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 19:20 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 19:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 19:53 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 29:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 29:62 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 29:84 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 30:38 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/orchestration/use-actions.ts Warning: 2:10 warning 'PageSchema' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 5:82 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 9:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 12:45 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 62:65 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 78:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 78:66 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 82:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 87:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 87:66 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 91:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 92:26 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 98:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 98:66 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 102:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 102:54 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 107:39 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 116:41 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 116:70 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 128:72 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/orchestration/use-page.ts Warning: 2:22 warning 'DataSource' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 17:67 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 20:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 45:38 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/ui/use-action-executor.ts Warning: 8:68 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 29:54 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 110:72 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/ui/use-component-registry.ts Warning: 12:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 34:60 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 38:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 39:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/ui/use-confirm-dialog.ts Warning: 39:6 warning React Hook useCallback has a missing dependency: 'state'. Either include it or remove the dependency array react-hooks/exhaustive-deps Warning: 46:6 warning React Hook useCallback has a missing dependency: 'state'. Either include it or remove the dependency array react-hooks/exhaustive-deps /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/ui/use-data-binding.ts Warning: 4:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 10:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 10:43 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 42:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 42:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 45:38 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/ui/use-drag-drop.ts Warning: 6:9 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/ui/use-event-handlers.ts Warning: 4:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 4:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 11:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 39:65 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 39:75 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 42:48 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 42:58 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/ui/use-form-state.ts Warning: 3:38 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 10:53 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 18:55 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 22:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 22:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 36:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 70:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/ui/use-form.ts Warning: 4:10 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 15:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 23:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 35:64 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 57:51 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/ui/use-json-export.ts Warning: 5:43 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 26:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 37:68 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/ui/use-list-operations.ts Warning: 11:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/use-ai-operations.ts Warning: 4:10 warning 'ProjectFile' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 4:23 warning 'PrismaModel' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 4:36 warning 'ThemeConfig' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/use-last-saved.ts Warning: 3:44 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 8:6 warning React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies react-hooks/exhaustive-deps /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/use-project-loader.ts Warning: 4:23 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 5:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 6:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 7:32 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 8:27 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 9:25 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 10:23 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 11:33 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 12:34 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 13:27 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 14:29 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 15:30 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 16:29 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 17:32 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/hooks/use-pwa.ts Warning: 32:54 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/component-definitions.ts Warning: 8:33 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/component-registry.ts Warning: 2:10 warning 'lazyWithRetry' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/error-repair-service.ts Warning: 22:11 warning 'errors' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 82:26 warning 'index' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/generators.ts Warning: 1:122 warning 'FlaskEndpoint' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/json-ui/component-registry.ts Warning: 38:32 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 42:17 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 43:19 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 44:13 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 45:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 46:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 47:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 48:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 49:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 50:15 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 51:25 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 52:25 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 53:23 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 54:23 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 55:19 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 56:21 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 57:17 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 167:74 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 171:61 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/json-ui/component-registry.tsx Warning: 22:55 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 68:61 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/json-ui/component-renderer.tsx Warning: 7:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 8:61 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 11:64 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 11:71 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 35:36 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 45:95 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/json-ui/hooks.ts Warning: 8:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 9:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 9:30 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 39:6 warning React Hook useCallback has a missing dependency: 'config'. Either include it or remove the dependency array react-hooks/exhaustive-deps Warning: 62:31 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 85:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 86:22 warning 'setLoadingMap' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 87:20 warning 'setErrorMap' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 91:54 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 107:6 warning React Hook useEffect has missing dependencies: 'sources' and 'updateData'. Either include them or remove the dependency array react-hooks/exhaustive-deps Warning: 119:81 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 121:70 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 125:59 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/json-ui/page-renderer.tsx Warning: 9:29 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 9:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 13:29 warning 'updatePath' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 23:83 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 49:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 49:60 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/json-ui/renderer.tsx Warning: 4:49 warning 'mergeClassNames' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 9:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 10:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 11:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 39:27 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 66:31 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 78:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 127:13 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 128:11 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 129:20 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 130:21 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 134:68 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/json-ui/schema.ts Warning: 30:33 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/json-ui/utils.ts Warning: 1:113 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 1:120 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 14:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 14:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 20:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 20:63 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 20:69 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 35:78 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 45:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 45:64 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/json-ui/validator.ts Warning: 16:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 45:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 65:14 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 101:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 108:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 109:64 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/lazy-loader.ts Warning: 11:55 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 55:59 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 63:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 65:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 90:53 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 93:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/library-loader.ts Warning: 1:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 105:8 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/pwa-icons.ts Warning: 25:9 warning 'innerSize' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 74:14 warning 'error' is defined but never used @typescript-eslint/no-unused-vars /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/lib/schema-renderer.tsx Warning: 8:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 9:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 9:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 64:62 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 130:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 131:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 131:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/router/RouterProvider.tsx Warning: 2:25 warning 'Navigate' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 10:17 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 11:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/router/routes.tsx Warning: 1:10 warning 'lazy' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 12:7 warning Fast refresh only works when a file only exports components. Move your component(s) to a separate file react-refresh/only-export-components Warning: 17:10 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 20:91 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 34:7 warning Fast refresh only works when a file only exports components. Move your component(s) to a separate file react-refresh/only-export-components Warning: 40:4 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 42:95 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 43:97 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 73:17 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 74:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/schemas/dashboard-schema.ts Warning: 31:49 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 43:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 44:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 209:46 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 258:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 258:69 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/schemas/page-schemas.ts Warning: 30:43 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 31:43 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/schemas/ui-schema.ts Warning: 9:41 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/types/json-ui.ts Warning: 1:10 warning 'ReactNode' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars Warning: 24:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 25:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 25:44 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 34:11 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 35:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 35:49 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 35:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 43:23 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 43:31 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 49:37 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 55:26 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 85:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 86:41 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 87:43 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/types/page-schema.ts Warning: 15:41 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/types/project.ts Warning: 29:25 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 88:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 207:24 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any Warning: 265:26 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/runner/work/low-code-react-app-b/low-code-react-app-b/src/vite-end.d.ts Warning: 8:61 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any ✖ 525 problems (0 errors, 525 warnings)
176 lines
4.1 KiB
Markdown
176 lines
4.1 KiB
Markdown
# ESLint Warning Cleanup Guide
|
|
|
|
This document provides patterns for quickly fixing the 525 ESLint warnings in the codebase.
|
|
|
|
## Quick Fixes
|
|
|
|
### 1. Unused Imports
|
|
**Pattern:** `'X' is defined but never used`
|
|
|
|
**Fix:** Remove the import
|
|
```typescript
|
|
// Before
|
|
import { Card, CardContent, Label } from '@/components/ui'
|
|
|
|
// After
|
|
import { Card } from '@/components/ui'
|
|
```
|
|
|
|
### 2. Unused Function Parameters
|
|
**Pattern:** `'paramName' is defined but never used`
|
|
|
|
**Fix:** Prefix with underscore
|
|
```typescript
|
|
// Before
|
|
const handleClick = (event, index) => {
|
|
doSomething()
|
|
}
|
|
|
|
// After
|
|
const handleClick = (_event, _index) => {
|
|
doSomething()
|
|
}
|
|
```
|
|
|
|
### 3. Unused Destructured Variables
|
|
**Pattern:** `'variable' is assigned a value but never used`
|
|
|
|
**Fix:** Remove from destructuring
|
|
```typescript
|
|
// Before
|
|
const { data, error, isLoading } = useQuery()
|
|
|
|
// After
|
|
const { data } = useQuery()
|
|
```
|
|
|
|
### 4. Empty Catch Blocks
|
|
**Pattern:** `Empty block statement`
|
|
|
|
**Fix:** Add comment or remove unused error
|
|
```typescript
|
|
// Before
|
|
try {
|
|
JSON.parse(value)
|
|
} catch (error) {
|
|
console.debug('Invalid JSON:', error)
|
|
}
|
|
|
|
// After
|
|
try {
|
|
JSON.parse(value)
|
|
} catch {
|
|
// Ignore invalid JSON during typing
|
|
}
|
|
```
|
|
|
|
### 5. React Hook Dependencies
|
|
**Pattern:** `React Hook X has missing dependencies`
|
|
|
|
**Fix:** Add dependencies or suppress with comment
|
|
```typescript
|
|
// Option 1: Add dependency
|
|
useEffect(() => {
|
|
fetchData(id)
|
|
}, [id, fetchData]) // Added fetchData
|
|
|
|
// Option 2: Intentionally ignore (with explanation)
|
|
useEffect(() => {
|
|
// Only run on mount
|
|
initialize()
|
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
}, [])
|
|
```
|
|
|
|
### 6. `any` Types in Dynamic JSON Systems
|
|
**Pattern:** `Unexpected any. Specify a different type`
|
|
|
|
**When to keep:** JSON schemas, component registries, dynamic props
|
|
**When to fix:** Function parameters, return types, simple objects
|
|
|
|
```typescript
|
|
// Keep any for truly dynamic systems
|
|
interface ComponentRegistry {
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
[key: string]: React.ComponentType<any>
|
|
}
|
|
|
|
// Fix for known structures
|
|
interface UserData {
|
|
id: string
|
|
name: string
|
|
email: string
|
|
}
|
|
```
|
|
|
|
## Automated Fixes
|
|
|
|
### Using VSCode
|
|
1. Open Command Palette (`Cmd/Ctrl + Shift + P`)
|
|
2. Run "ESLint: Fix all auto-fixable Problems"
|
|
3. Review changes before committing
|
|
|
|
### Using CLI
|
|
```bash
|
|
# Fix all auto-fixable issues
|
|
npm run lint -- --fix
|
|
|
|
# Fix specific file
|
|
npx eslint --fix src/components/MyComponent.tsx
|
|
```
|
|
|
|
## Priority Order
|
|
|
|
1. **High Priority** (Can cause bugs)
|
|
- Remove unused variables that shadow others
|
|
- Fix exhaustive-deps that could cause stale closures
|
|
- Fix typing errors in function calls
|
|
|
|
2. **Medium Priority** (Code quality)
|
|
- Remove unused imports (speeds up builds)
|
|
- Prefix unused params with underscore
|
|
- Add proper types where straightforward
|
|
|
|
3. **Low Priority** (Cosmetic)
|
|
- Fast refresh warnings
|
|
- any types in JSON/dynamic systems
|
|
- Optional chaining suggestions
|
|
|
|
## Files to Skip (For Now)
|
|
|
|
These files have intentionally loose typing due to their dynamic nature:
|
|
- `src/lib/json-ui/**/*.ts` - JSON-driven UI system
|
|
- `src/config/orchestration/**/*.ts` - Dynamic orchestration
|
|
- `src/schemas/**/*.ts` - Schema definitions with any
|
|
- `packages/spark-tools/**/*.ts` - External package
|
|
|
|
## Bulk Patterns to Search/Replace
|
|
|
|
### Remove unused console imports
|
|
Search: `import.*console.*from`
|
|
Action: Review and remove if not used
|
|
|
|
### Fix underscore params
|
|
Search: `\(([a-z]+),\s*([a-z]+)\)\s*=>`
|
|
Review: Check if params are used, prefix with _ if not
|
|
|
|
### Empty catch blocks with unused error
|
|
Search: `catch\s*\(error\)\s*\{[^}]*\}`
|
|
Replace: `catch { /* intentionally empty */ }`
|
|
|
|
## Testing After Cleanup
|
|
|
|
1. Run full lint: `npm run lint`
|
|
2. Run type check: `npm run type-check` (if available)
|
|
3. Run tests: `npm test`
|
|
4. Build: `npm run build`
|
|
5. Manual smoke test in dev: `npm run dev`
|
|
|
|
## Notes
|
|
|
|
- Don't fix all 525 at once - do batches by file/directory
|
|
- Always test after each batch
|
|
- Commit frequently with clear messages
|
|
- Some `any` types are justified in this codebase
|
|
- Focus on fixes that improve code quality, not just reduce warnings
|