From 885d4c1780df5367898adcd06a766d480ba60dc4 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Mon, 27 Jan 2025 22:38:28 -0500 Subject: [PATCH] chore: new conf version --- conf.json | 142 +++++++++++++++++++++++++++--------------------------- 1 file changed, 72 insertions(+), 70 deletions(-) diff --git a/conf.json b/conf.json index 1ed3378..e180b94 100644 --- a/conf.json +++ b/conf.json @@ -1,74 +1,76 @@ { - "stage": { - "stages": [ - { - "name": "keyword", - "executor": { - "name": "sandbox", - "with": { - "default": { - "args": [ - "bash", - "-c", - "clang-tidy-18 --header-filter=.* --quiet -checks=* src/*.cpp" - ], - "env": [ - "PATH=/usr/bin:/bin:/usr/local/bin" - ], - "cpuLimit": 10000000000, - "memoryLimit": 104857600, - "procLimit": 50, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 65536 - }, - "stderr": { - "name": "stderr", - "max": 65536 - } - } - } - }, - "parser": { - "name": "keyword", - "with": { - "score": 1000, - "files": [ - "stdout" - ], - "endOnMatch": true, - "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": 0 - } - ] - } - } + "stage": { + "stages": [ + { + "name": "keyword", + "executor": { + "name": "sandbox", + "with": { + "default": { + "args": [ + "bash", + "-c", + "clang-tidy-18 --header-filter=.* --quiet -checks=* src/*.cpp" + ], + "env": [ + "PATH=/usr/bin:/bin:/usr/local/bin" + ], + "cpuLimit": 10000000000, + "memoryLimit": 104857600, + "procLimit": 50, + "copyInDir": ".", + "copyOut": [ + "stdout", + "stderr" + ], + "stdin": { + "content": "" + }, + "stdout": { + "name": "stdout", + "max": 65536 + }, + "stderr": { + "name": "stderr", + "max": 65536 + } } + } + }, + "parsers": [ + { + "name": "keyword", + "with": { + "score": 1000, + "files": [ + "stdout" + ], + "endOnMatch": true, + "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": 0 + } + ] + } + } ] - } + } + ] + } } \ No newline at end of file