dylint

commented_code

What it does

Checks for code that has been commented out.

Why is this bad?

Commented code is often meant to be removed, but kept by mistake.

Known problems

Example

// dbg!(x);
f(x);

Use instead:

f(x);