ZedThree / clang-tidy-review

Create a pull request review based on clang-tidy warnings
MIT License
88 stars 44 forks source link

Add experimental support for annotations #71

Closed ZedThree closed 1 year ago

ZedThree commented 1 year ago

Closes #51

This is a pretty rough and ready implementation. Annotations don't support markdown, so they don't look great as I've just converted the comments straight to annotations. Using a different formatter might make them look nicer.

Also, the column isn't reported, but that could be solved with a different formatter.

Currently, if there are any issues, the status is set to neutral, but maybe it should be failed, or have a user setting to choose which one (error_on_warnings?).

I'm going to release this in v0.12 now, as I won't have much time to improve this for a while. PRs to make this feature better are more than welcome!