Specify a blacklist of disallowed words within comments.

 /* words within comments */
/** ↑     ↑      ↑
 * These three words */

This rule ignores comments within selector and value lists.


array|string: ["array", "of", "words", "or", "/regex/"]|"word"|"/regex/"

If a string is surrounded with "/" (e.g. "/^TODO:/"), it is interpreted as a regular expression.


["/^TODO:/", "badword"]

The following patterns are considered violations:

/* TODO: */
/* TODO: add fallback */
/* some badword */

The following patterns are not considered violations:

/* comment */