UNPKG

pi-lens

Version:

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

10 lines (9 loc) • 203 B
id: no-discarded-error-js valid: - 'throw new Error("x")' - 'const e = new Error("x")' - 'throw new TypeError("x")' invalid: - 'new Error("x")' - 'new TypeError("x")' - 'new RangeError("x")'