You must log in or register to comment.
I would recommend clang-tidy. You can have it running if you use the clangd Language Server.
Here’s also a good resource for linters and formatters, sorted by languages:
I will go with this, thank you!
I wish people just used clang-tidy instead of pushing all the crap that’s out there, like for instance PC-Lint Plus. At work the head of IT makes our work a living hell by insisting the CI runs a shit beta version of PC-Lint Plus which lacks full C++17 support and we have to reinvent stuff like variants and deprive ourselves of many C++ features because of one single linting tool.
I use cppcheck.