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.
1 parent 407c265 commit 4a1e2edCopy full SHA for 4a1e2ed
javascript/ql/examples/snippets/todocomment.ql
@@ -3,6 +3,7 @@
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
*/
@@ -11,4 +12,4 @@ import javascript
11
12
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