MCPcopy Create free account
hub / github.com/codeaashu/claude-code / incrementIgnoredCount

Function incrementIgnoredCount

src/utils/plugins/lspRecommendation.ts:334–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

332 * After MAX_IGNORED_COUNT ignores, recommendations are disabled.
333 */
334export function incrementIgnoredCount(): void {
335 saveGlobalConfig(currentConfig => {
336 const newCount = (currentConfig.lspRecommendationIgnoredCount ?? 0) + 1
337 return {
338 ...currentConfig,
339 lspRecommendationIgnoredCount: newCount,
340 }
341 })
342 logForDebugging('[lspRecommendation] Incremented ignored count')
343}
344
345/**
346 * Check if LSP recommendations are disabled.

Callers 1

Calls 2

saveGlobalConfigFunction · 0.85
logForDebuggingFunction · 0.85

Tested by

no test coverage detected