-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#27: Introduced TODO finding pattern for csproj files
It searches for TODOs in *.csproj files
- Loading branch information
1 parent
7574696
commit f261b78
Showing
6 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
Documentation/Synergy.Documentation.Annotations/Synergy.Documentation.Annotations.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
Documentation/Synergy.Documentation.Tests/Comments/NoteTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Synergy.Documentation.Tests.Comments; | ||
|
||
public class NoteTests | ||
{ | ||
|
||
} |
10 changes: 10 additions & 0 deletions
10
Documentation/Synergy.Documentation/Todos/Patterns/CsprojTodoPattern.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Text.RegularExpressions; | ||
|
||
namespace Synergy.Documentation.Todos.Patterns; | ||
|
||
public record CsprojTodoPattern() : TodoPattern( | ||
"csproj", | ||
new Regex("(TODO.*)"), | ||
match => match.Groups[1] | ||
.Value | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters