@nitefox@lemmy.world to C++@programming.devEnglish • 1 year agoIs there a linter for cpp similar to how ESlint works?message-square6fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1message-squareIs there a linter for cpp similar to how ESlint works?@nitefox@lemmy.world to C++@programming.devEnglish • 1 year agomessage-square6fedilink
minus-square@glad_catlinkEnglish3•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-square@zbb@mastodon.sociallinkfedilink3•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