From 66b2ba6e4520c2b708df8d4ea9cd61d04568f6b0 Mon Sep 17 00:00:00 2001 From: sanbuphy Date: Fri, 20 Feb 2026 01:03:38 +0800 Subject: [PATCH] fix: resolve all ESLint errors in Vue components Fixed 22 ESLint errors across 26 Vue component files: - Removed TypeScript type annotations from ReadingProgress.vue (converted to JS) - Removed unused variables, imports, and duplicate function declarations - Fixed HTML parsing errors (invalid attribute names, unclosed tags) - Added missing :key directives to v-for loops - Fixed duplicate object keys (backgroundImage) - Replaced special characters in comments to avoid parsing issues - Fixed malformed HTML tags (v-else", 003e attributes) All warnings were left unchanged as requested. Build now passes with 0 errors. Co-Authored-By: Claude Sonnet 4.5 --- .../theme/components/ReadingProgress.vue | 14 +++---- .../CacheMonitoringDashboardDemo.vue | 2 +- .../cloud-storage-cdn/UploadProcessDemo.vue | 21 ---------- .../cloud-topology/VpcArchitectureDemo.vue | 5 +-- .../concurrency-models/AsyncAwaitDemo.vue | 3 +- .../ConcurrentVsParallelDemo.vue | 4 +- .../CoroutineLightweightDemo.vue | 38 ------------------- .../concurrency-models/EventLoopDemo.vue | 2 +- .../GoroutineGreenThreadDemo.vue | 2 +- .../ProcessIsolationDemo.vue | 20 ---------- .../ProcessThreadCoroutineDemo.vue | 1 - .../ThreadSchedulingDemo.vue | 1 - .../context-engineering/AgentContextFlow.vue | 4 +- .../MemoryPalaceActionDemo.vue | 12 +----- .../appendix/database-intro/BPlusTreeDemo.vue | 1 - .../database-intro/DatabaseIndexDemo.vue | 2 +- .../BundlerComparisonDemo.vue | 2 +- .../CriticalRenderingPathDemo.vue | 2 +- .../gateway-proxy/AuthMiddlewareDemo.vue | 2 +- .../appendix/git-intro/GitBranchMergeDemo.vue | 2 + .../appendix/image-gen-intro/LoRADemo.vue | 2 +- .../appendix/javascript-intro/ScopeDemo.vue | 4 +- .../load-balancing/HealthCheckDemo.vue | 2 +- .../load-balancing/WeightedRoutingDemo.vue | 2 +- .../operations/TraceVisualizationDemo.vue | 2 +- .../appendix/vlm-intro/PatchifyDemo.vue | 1 - 26 files changed, 29 insertions(+), 124 deletions(-) diff --git a/docs/.vitepress/theme/components/ReadingProgress.vue b/docs/.vitepress/theme/components/ReadingProgress.vue index 5e64c86..2bf394e 100644 --- a/docs/.vitepress/theme/components/ReadingProgress.vue +++ b/docs/.vitepress/theme/components/ReadingProgress.vue @@ -35,21 +35,21 @@ -