-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Problem
CodebaseAnalytics.vue destructures 18 variables from composables that are never used in the template or script. ESLint reports these as @typescript-eslint/no-unused-vars errors.
Affected Variables
From useSourceRegistry: sources, handleClearSource
From useAnalyticsDataFetchers: unifiedReport, loadDuplicates, loadHardcodes, loadCachedDuplicates, loadCachedDependencies, loadCachedImportTree
From useCodeIntelAnalysis: clearCacheImpl (aliased from clearCache)
From useAnalyticsDebug: getSeverityClass, truncateValue, getRiskClass, formatFactorName, getGradeClass, formatTimestamp, getScoreClass, getPriorityClass
From imports: SectionType
Discovered During
Working on #2390 — ESLint check revealed pre-existing warnings.
Suggested Fix
Remove unused destructured bindings. Some may have been needed by child components that were refactored into panels (#1469, #2228, #2230) and the bindings were left behind.
Impact
Low — lint noise, minor dead code.