chore: new conf version

This commit is contained in:
张泊明518370910136 2025-01-27 21:57:44 -05:00
parent 50611aa97b
commit f306ddbdc1
GPG Key ID: CA088E6D9284F870

131
conf.json
View File

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