mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
14 lines
250 B
Plaintext
14 lines
250 B
Plaintext
/**
|
|
* @id cs/examples/todo-comment
|
|
* @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
|