We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3b2eed + 4a1e2ed commit 8fabbd6Copy full SHA for 8fabbd6
javascript/ql/examples/snippets/todocomment.ql
@@ -2,6 +2,8 @@
2
* @id js/examples/todocomment
3
* @name TODO comments
4
* @description Finds comments containing the word TODO
5
+ * @kind problem
6
+ * @problem.severity recommendation
7
* @tags comment
8
* TODO
9
*/
@@ -10,4 +12,4 @@ import javascript
10
12
11
13
from Comment c
14
where c.getText().regexpMatch("(?si).*\\bTODO\\b.*")
-select c
15
+select c, "TODO comments indicate that the code may not be complete."
0 commit comments