this post was submitted on 13 Jul 2023
3 points (100.0% liked)

C++

1783 readers
1 users here now

The center for all discussion and news regarding C++.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 1 year ago (1 children)

+1 for clang-tidy because clang is good. There is also scan-build in clang but it's a PITA to use.

And for OP, you can also install sonarlint on some editors/IDE but I don't know if the scanned code is sent remotely or not.

[โ€“] [email protected] 3 points 1 year ago

@glad_cat @jormaig

Here's also a good resource for linters and formatters, sorted by languages:

https://github.com/caramelomartins/awesome-linters