UNPKG

pi-lens

Version:

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

9 lines (8 loc) • 181 B
id: ts-redundant-filter-map valid: - 'arr.filter(fn)' - 'arr.map(fn)' - 'arr.flatMap(fn)' invalid: - 'arr.filter(x => x).map(fn)' - 'arr.filter(onlyPositive).map(double)'