cpp-linter 2.0.0-rc.17

Run clang-format and clang-tidy on a batch of files.
{
  "sha": "01e2ebf010b949986fa3e6d6e81e7f7c8da90001",
  "node_id": "C_kwDOFY2uzNoAKDAxZTJlYmYwMTBiOTQ5OTg2ZmEzZTZkNmU4MWU3ZjdjOGRhOTAwMDE",
  "commit": {
    "author": {
      "name": "Brendan",
      "email": "2bndy5@gmail.com",
      "date": "2024-12-12T16:04:15Z"
    },
    "committer": {
      "name": "Brendan",
      "email": "2bndy5@gmail.com",
      "date": "2024-12-12T16:04:15Z"
    },
    "message": "make source changes",
    "tree": {
      "sha": "c2ce8a3ed0d96bf72e5c4e34857349f0e97f3fb4",
      "url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/git/trees/c2ce8a3ed0d96bf72e5c4e34857349f0e97f3fb4"
    },
    "url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/git/commits/01e2ebf010b949986fa3e6d6e81e7f7c8da90001",
    "comment_count": 0,
    "verification": {
      "verified": false,
      "reason": "unsigned",
      "signature": null,
      "payload": null,
      "verified_at": null
    }
  },
  "url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/commits/01e2ebf010b949986fa3e6d6e81e7f7c8da90001",
  "html_url": "https://github.com/cpp-linter/test-cpp-linter-action/commit/01e2ebf010b949986fa3e6d6e81e7f7c8da90001",
  "comments_url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/commits/01e2ebf010b949986fa3e6d6e81e7f7c8da90001/comments",
  "author": {
    "login": "2bndy5",
    "id": 14963867,
    "node_id": "MDQ6VXNlcjE0OTYzODY3",
    "avatar_url": "https://avatars.githubusercontent.com/u/14963867?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/2bndy5",
    "html_url": "https://github.com/2bndy5",
    "followers_url": "https://api.github.com/users/2bndy5/followers",
    "following_url": "https://api.github.com/users/2bndy5/following{/other_user}",
    "gists_url": "https://api.github.com/users/2bndy5/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/2bndy5/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/2bndy5/subscriptions",
    "organizations_url": "https://api.github.com/users/2bndy5/orgs",
    "repos_url": "https://api.github.com/users/2bndy5/repos",
    "events_url": "https://api.github.com/users/2bndy5/events{/privacy}",
    "received_events_url": "https://api.github.com/users/2bndy5/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },
  "committer": {
    "login": "2bndy5",
    "id": 14963867,
    "node_id": "MDQ6VXNlcjE0OTYzODY3",
    "avatar_url": "https://avatars.githubusercontent.com/u/14963867?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/2bndy5",
    "html_url": "https://github.com/2bndy5",
    "followers_url": "https://api.github.com/users/2bndy5/followers",
    "following_url": "https://api.github.com/users/2bndy5/following{/other_user}",
    "gists_url": "https://api.github.com/users/2bndy5/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/2bndy5/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/2bndy5/subscriptions",
    "organizations_url": "https://api.github.com/users/2bndy5/orgs",
    "repos_url": "https://api.github.com/users/2bndy5/repos",
    "events_url": "https://api.github.com/users/2bndy5/events{/privacy}",
    "received_events_url": "https://api.github.com/users/2bndy5/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },
  "parents": [
    {
      "sha": "d6831a093b4a6f828e49573e8b048729841cd5c7",
      "url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/commits/d6831a093b4a6f828e49573e8b048729841cd5c7",
      "html_url": "https://github.com/cpp-linter/test-cpp-linter-action/commit/d6831a093b4a6f828e49573e8b048729841cd5c7"
    }
  ],
  "stats": {
    "total": 32,
    "additions": 14,
    "deletions": 18
  },
  "files": [
    {
      "sha": "1bf553e06e4b7c6c9a9be5da4845acbdeb04f6a5",
      "filename": "src/demo.cpp",
      "status": "modified",
      "additions": 11,
      "deletions": 10,
      "changes": 21,
      "blob_url": "https://github.com/cpp-linter/test-cpp-linter-action/blob/01e2ebf010b949986fa3e6d6e81e7f7c8da90001/src%2Fdemo.cpp",
      "raw_url": "https://github.com/cpp-linter/test-cpp-linter-action/raw/01e2ebf010b949986fa3e6d6e81e7f7c8da90001/src%2Fdemo.cpp",
      "contents_url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/contents/src%2Fdemo.cpp?ref=01e2ebf010b949986fa3e6d6e81e7f7c8da90001",
      "patch": "@@ -1,17 +1,18 @@\n /** This is a very ugly test code (doomed to fail linting) */\n #include \"demo.hpp\"\n-#include <cstdio>\n-#include <cstddef>\n+#include <stdio.h>\n \n-// using size_t from cstddef\n-size_t dummyFunc(size_t i) { return i; }\n \n-int main()\n-{\n-    for (;;)\n-        break;\n+\n+\n+int main(){\n+\n+    for (;;) break;\n+\n \n     printf(\"Hello world!\\n\");\n \n-    return 0;\n-}\n+\n+\n+\n+    return 0;}"
    },
    {
      "sha": "f93d0122ae2e3c1952c795837d71c432036b55eb",
      "filename": "src/demo.hpp",
      "status": "modified",
      "additions": 3,
      "deletions": 8,
      "changes": 11,
      "blob_url": "https://github.com/cpp-linter/test-cpp-linter-action/blob/01e2ebf010b949986fa3e6d6e81e7f7c8da90001/src%2Fdemo.hpp",
      "raw_url": "https://github.com/cpp-linter/test-cpp-linter-action/raw/01e2ebf010b949986fa3e6d6e81e7f7c8da90001/src%2Fdemo.hpp",
      "contents_url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/contents/src%2Fdemo.hpp?ref=01e2ebf010b949986fa3e6d6e81e7f7c8da90001",
      "patch": "@@ -5,12 +5,10 @@\n class Dummy {\n     char* useless;\n     int numb;\n+    Dummy() :numb(0), useless(\"\\0\"){}\n \n     public:\n-    void *not_usefull(char *str){\n-        useless = str;\n-        return 0;\n-    }\n+    void *not_useful(char *str){useless = str;}\n };\n \n \n@@ -28,14 +26,11 @@ class Dummy {\n \n \n \n-\n-\n-\n-\n \n \n struct LongDiff\n {\n+\n     long diff;\n \n };"
    }
  ]
}