From 497afd2c68be90298c025ef283484a725d0336ad Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 6 Sep 2016 18:51:49 +0100 Subject: [PATCH] TodoComment: only match against comments --- README.md | 2 -- src/main/resources/net/kemitix/checkstyle.xml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index ef0b286..da93703 100644 --- a/README.md +++ b/README.md @@ -1967,8 +1967,6 @@ void doSomething() throws IllegalStateException, Checks for remaining `TODO` and `FIXME` comments left in code. Their presence indicates that the program isn't finished yet. -> TODO: format = "(//\*).*((TODO)|(FIXME))" - only where in comments - #### [TrailingComment](http://checkstyle.sourceforge.net/config_misc.html#TrailingComment) Checks for comments at the end of lines. diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml index 90975e8..f0e16f6 100644 --- a/src/main/resources/net/kemitix/checkstyle.xml +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -195,7 +195,7 @@ - +