-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): add problem matcher for cppcheck (#7794)
* chore(ci): add problem matcher for cppcheck Signed-off-by: Kotaro Yoshimoto <[email protected]> * chore(ci): setup problem matcher in cppcheck-differential Signed-off-by: Kotaro Yoshimoto <[email protected]> * test(ci): add diff to occur cppcheck errors Signed-off-by: Kotaro Yoshimoto <[email protected]> * style(pre-commit): autofix * Revert "test(ci): add diff to occur cppcheck errors " This reverts commit 1c00fd5. Signed-off-by: Kotaro Yoshimoto <[email protected]> * chore(ci): setup problem matchers cppcheck-daily Signed-off-by: Kotaro Yoshimoto <[email protected]> --------- Signed-off-by: Kotaro Yoshimoto <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f726e6a
commit 598eca1
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
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,16 @@ | ||
{ | ||
"problemMatcher": [ | ||
{ | ||
"owner": "cppcheck", | ||
"pattern": [ | ||
{ | ||
"regexp": "^([^:]+):(\\d+):(\\d*):\\s(style|portability|performance|warning|error):\\s(.*)$", | ||
"file": 1, | ||
"line": 2, | ||
"column": 3, | ||
"message": 5 | ||
} | ||
] | ||
} | ||
] | ||
} |
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