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

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

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

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

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

  • 3 users / day
  • 1 user / week
  • 31 users / month
  • 43 users / 6 months
  • 33 local subscribers
  • 2.31K subscribers
  • 325 Posts
  • 626 Comments
  • Modlog
  • mods:
  • farados@vlemmy.net
  • Nihili0@programming.dev
  • lysdexic@programming.dev
  • BE: 0.19.18
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org