mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
13 lines
218 B
Plaintext
13 lines
218 B
Plaintext
/**
|
|
* @name TODO comments
|
|
* @description Finds comments containing the word "TODO".
|
|
* @tags comment
|
|
* TODO
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from CommentLine c
|
|
where c.getText().regexpMatch("(?si).*\\bTODO\\b.*")
|
|
select c
|