chore: new conf version

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

111
conf.json
View File

@ -1,51 +1,68 @@
{
"stages": [
{
"name": "keyword",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": ["cpplint", "--recursive", "."],
"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": 100,
"files": ["stderr"],
"endOnMatch": true,
"matches": [
"stage": {
"stages": [
{
"keywords": ["[legal/copyright]"],
"score": 5
},
{
"keywords": ["[runtime/references]"],
"score": 2,
"maxMatchCount": 3
"name": "keyword",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"cpplint",
"--recursive",
"."
],
"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": 100,
"files": [
"stderr"
],
"endOnMatch": true,
"matches": [
{
"keywords": [
"[legal/copyright]"
],
"score": 5
},
{
"keywords": [
"[runtime/references]"
],
"score": 2,
"maxMatchCount": 3
}
]
}
}
}
]
}
}
]
}
]
}
}