chore: new conf version

This commit is contained in:
张泊明518370910136 2025-06-04 06:38:53 -04:00
parent f306ddbdc1
commit d0f24b5453
GPG Key ID: CA088E6D9284F870

142
conf.json
View File

@ -1,74 +1,76 @@
{ {
"stage": { "stage": {
"stages": [ "stages": [
{ {
"name": "keyword", "name": "keyword",
"executor": { "executor": {
"name": "sandbox", "name": "sandbox",
"with": { "with": {
"default": { "default": {
"args": [ "args": [
"bash", "bash",
"-c", "-c",
"clang-tidy-18 --header-filter=.* --quiet -checks=* src/*.cpp" "clang-tidy-18 --header-filter=.* --quiet -checks=* src/*.cpp"
], ],
"env": [ "env": [
"PATH=/usr/bin:/bin:/usr/local/bin" "PATH=/usr/bin:/bin:/usr/local/bin"
], ],
"cpuLimit": 10000000000, "cpuLimit": 10000000000,
"memoryLimit": 104857600, "memoryLimit": 104857600,
"procLimit": 50, "procLimit": 50,
"copyInDir": ".", "copyInDir": ".",
"copyOut": [ "copyOut": [
"stdout", "stdout",
"stderr" "stderr"
], ],
"stdin": { "stdin": {
"content": "" "content": ""
}, },
"stdout": { "stdout": {
"name": "stdout", "name": "stdout",
"max": 65536 "max": 65536
}, },
"stderr": { "stderr": {
"name": "stderr", "name": "stderr",
"max": 65536 "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
}
]
}
}
} }
}
},
"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
}
]
}
}
] ]
} }
]
}
} }