UNPKG

pi-lens

Version:

Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo

9 lines (8 loc) • 224 B
id: redundant-state valid: - 'const x = compute(); use(x); return x' - 'const x = 1; console.log(x); return x' invalid: - 'const x = 1; return x' - 'const name = "a"; return name' - 'const x = compute(); return x'