diff --git a/javascript/ql/examples/snippets/todocomment.ql b/javascript/ql/examples/snippets/todocomment.ql index 1412ad51a76..c373934f0db 100644 --- a/javascript/ql/examples/snippets/todocomment.ql +++ b/javascript/ql/examples/snippets/todocomment.ql @@ -2,6 +2,8 @@ * @id js/examples/todocomment * @name TODO comments * @description Finds comments containing the word TODO + * @kind problem + * @problem.severity recommendation * @tags comment * TODO */ @@ -10,4 +12,4 @@ import javascript from Comment c where c.getText().regexpMatch("(?si).*\\bTODO\\b.*") -select c +select c, "TODO comments indicate that the code may not be complete."