UNPKG

pi-lens

Version:

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

10 lines (9 loc) • 174 B
id: no-cond-assign valid: - "if (x === 1) {}" - "x = 1" - "if (x + 1 === 2) {}" invalid: - "if (x = 1) {}" - "do {} while (x = next())" - "while (x = next()) {}"