nitefox@lemmy.world to C++@programming.devEnglish · 1 year agoIs there a linter for cpp similar to how ESlint works?message-squaremessage-square4fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1message-squareIs there a linter for cpp similar to how ESlint works?nitefox@lemmy.world to C++@programming.devEnglish · 1 year agomessage-square4fedilink
minus-squareglad_cat@lemmy.sdf.orglinkfedilinkEnglisharrow-up0·1 year ago+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.
minus-squarezbb@mastodon.sociallinkfedilinkarrow-up1·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
+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.
@glad_cat @jormaig
Here’s also a good resource for linters and formatters, sorted by languages:
https://github.com/caramelomartins/awesome-linters