Skip to content

VBC-910: console-table-leaks

warning

Category: clean-code
Analysis: Regex (line by line)
File types: .js, .ts, .tsx, .astro
Scope: source code only, ignoring anything inside strings and comments
Tags: clean-code

What it reports

console.table() left in code at line {line}. Useful for debug, but clutters production logs.

Flagged

js
console.table(rows);

Not flagged

js
renderTable(rows);

Pattern

regex
console\.table\(

Released under the MIT License.