chore: remove nested fields

This commit is contained in:
张泊明518370910136 2025-09-27 01:19:55 -07:00
parent 8387f6d422
commit 9b1ed9186b
GPG Key ID: CA088E6D9284F870

126
conf.json
View File

@ -1,70 +1,68 @@
{ {
"stage": { "stages": [
"stages": [ {
{ "name": "keyword",
"name": "keyword", "executor": {
"executor": { "name": "sandbox",
"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
}
}
}
},
"parsers": [
{
"name": "keyword",
"with": { "with": {
"default": { "score": 100,
"args": [ "files": [
"cpplint", "stderr"
"--recursive", ],
"." "endOnMatch": true,
], "matches": [
"env": [ {
"PATH=/usr/bin:/bin:/usr/local/bin" "keywords": [
], "[legal/copyright]"
"cpuLimit": 10000000000, ],
"memoryLimit": 104857600, "score": 5
"procLimit": 50,
"copyInDir": ".",
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
}, },
"stdout": { {
"name": "stdout", "keywords": [
"max": 65536 "[runtime/references]"
}, ],
"stderr": { "score": 2,
"name": "stderr", "maxMatchCount": 3
"max": 65536
} }
} ]
} }
}, }
"parsers": [ ]
{ }
"name": "keyword", ]
"with": {
"score": 100,
"files": [
"stderr"
],
"endOnMatch": true,
"matches": [
{
"keywords": [
"[legal/copyright]"
],
"score": 5
},
{
"keywords": [
"[runtime/references]"
],
"score": 2,
"maxMatchCount": 3
}
]
}
}
]
}
]
}
} }