lhl 6ff0e96ad3 8-4-1 vor 1 Jahr
..
README.md 6ff0e96ad3 8-4-1 vor 1 Jahr
index.js 6ff0e96ad3 8-4-1 vor 1 Jahr

README.md

comment-word-disallowed-list

Specify a list of disallowed words within comments.

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

Caveat: Comments within selector and value lists are currently ignored.

Options

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

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

Given:

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

The following patterns are considered violations:

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

The following patterns are not considered violations:

/* comment */