Skip to content

VBC-090: passive-aggressive-comments

warning

Category: core
Analysis: Regex (line by line)
File types: .js, .ts, .tsx, .py, .sh, .c, .cpp, .md, .go, .rs, .java, .cs, .kt, .swift, .rb, .astro
Scope: comments only
Tags: team-culture

What it reports

Passive-aggressive or helpless comment '{match}' detected at line {line}. Replace with a technical explanation of the actual constraint or a link to the relevant issue tracker ticket.

Flagged

js
// fix later, hope it works

Not flagged

js
// retries three times, then gives up

Pattern

regex
(blame \w+|fix later|hope it works|idk why this works|this is cursed|wtf is this|no idea why|pray it works|don't touch this|shouldn't work but|works on my machine)

Released under the MIT License.