Skip to content

Commit cde3f5b

Browse files
committed
Fix ruleset sample related to changing the message template (related to #3769)
1 parent 56c56a0 commit cde3f5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wiki/Annotated-Ruleset.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ The following sample file documents the ruleset.xml format and shows you the com
198198
Here we are including a specific sniff but also changing
199199
the error message of a specific message inside the sniff.
200200
Note that the specific code for the message, which is
201-
CommentFound in this case, is defined by the sniff developer.
201+
TaskFound in this case, is defined by the sniff developer.
202202
You can display these codes by using the -s command line
203203
argument when checking a file.
204204
@@ -212,7 +212,7 @@ The following sample file documents the ruleset.xml format and shows you the com
212212
command line. This is great if you want to use some messages
213213
only in code reviews and not have them block code commits.
214214
-->
215-
<rule ref="Generic.Commenting.Todo.CommentFound">
215+
<rule ref="Generic.Commenting.Todo.TaskFound">
216216
<message>Please review this TODO comment: %s</message>
217217
<severity>3</severity>
218218
</rule>

0 commit comments

Comments
 (0)