diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 92dbde6..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -clangtidy_result.json diff --git a/conf.toml b/conf.toml index e24ceb9..47bdd8b 100644 --- a/conf.toml +++ b/conf.toml @@ -4,7 +4,7 @@ name = "clangtidy" [stages.executor] name = "sandbox" [stages.executor.with.default] -args = ["bash", "-c", "cmake -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -B build && clang-tidy-18 --header-filter=.* --quiet -checks=* src/*.cpp -p build"] +args = ["cppcheck --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"},' --force --enable=all --quiet src/*.cpp"] env = ["PATH=/usr/bin:/bin:/usr/local/bin"] cpuLimit = 10_000_000_000 memoryLimit = 419_430_400 @@ -20,7 +20,7 @@ max = 65_536 name = "stderr" max = 65_536 [stages.parser] -name = "clangtidy" +name = "cppcheck" [stages.parser.with] score = 100 rootdir = "/w"