From d426a609afccf8483668933f49eb42435a918f68 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Mon, 27 Jan 2025 21:57:44 -0500 Subject: [PATCH] chore: new conf version --- conf.json | 132 +++++++++++++++++++++++++++--------------------------- 1 file changed, 67 insertions(+), 65 deletions(-) diff --git a/conf.json b/conf.json index 3b1f646..8b856bf 100644 --- a/conf.json +++ b/conf.json @@ -1,68 +1,70 @@ { - "stages": [ - { - "name": "clangtidy", - "executor": { - "name": "sandbox", - "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" - ], - "env": [ - "PATH=/usr/bin:/bin:/usr/local/bin" - ], - "cpuLimit": 10000000000, - "memoryLimit": 419430400, - "procLimit": 50, - "copyInDir": ".", - "copyOut": [ - "stdout" - ], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 65536 - }, - "stderr": { - "name": "stderr", - "max": 65536 + "stage": { + "stages": [ + { + "name": "clangtidy", + "executor": { + "name": "sandbox", + "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" + ], + "env": [ + "PATH=/usr/bin:/bin:/usr/local/bin" + ], + "cpuLimit": 10000000000, + "memoryLimit": 419430400, + "procLimit": 50, + "copyInDir": ".", + "copyOut": [ + "stdout" + ], + "stdin": { + "content": "" + }, + "stdout": { + "name": "stdout", + "max": 65536 + }, + "stderr": { + "name": "stderr", + "max": 65536 + } + } + } + }, + "parser": { + "name": "clangtidy", + "with": { + "score": 100, + "rootdir": "/w", + "matches": [ + { + "keywords": [ + "cppcoreguidelines-avoid-non-const-global-variables" + ], + "score": 5 + }, + { + "keywords": [ + "readability-identifier-length", + "misc-use-anonymous-namespace" + ], + "score": 2 + }, + { + "keywords": [ + "llvmlibc-implementation-in-namespace" + ], + "score": 1 + } + ] + } + } } - } - } - }, - "parser": { - "name": "clangtidy", - "with": { - "score": 100, - "rootdir": "/w", - "matches": [ - { - "keywords": [ - "cppcoreguidelines-avoid-non-const-global-variables" - ], - "score": 5 - }, - { - "keywords": [ - "readability-identifier-length", - "misc-use-anonymous-namespace" - ], - "score": 2 - }, - { - "keywords": [ - "llvmlibc-implementation-in-namespace" - ], - "score": 1 - } - ] - } - } + ] } - ] -} +} \ No newline at end of file