SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
nitefox@lemmy.world to C++@programming.devEnglish · 2 years ago

Is there a linter for cpp similar to how ESlint works?

message-square
message-square
6
fedilink
3
message-square

Is there a linter for cpp similar to how ESlint works?

nitefox@lemmy.world to C++@programming.devEnglish · 2 years ago
message-square
6
fedilink
  • glad_cat
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years 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.

    • zbb@mastodon.social
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      @glad_cat @jormaig

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

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

C++@programming.dev

cpp@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !cpp@programming.dev

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

Rules

  • Respect instance rules.
  • Don’t be a jerk.
  • Please keep all posts related to C++.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 22 users / week
  • 42 users / month
  • 200 users / 6 months
  • 32 local subscribers
  • 2.01K subscribers
  • 291 Posts
  • 609 Comments
  • Modlog
  • mods:
  • farados@vlemmy.net
  • Nihili0@programming.dev
  • lysdexic@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org