chore: remove nested fields

This commit is contained in:
张泊明518370910136 2025-09-27 01:19:56 -07:00
parent d6cdef57ab
commit 0972415c0e
GPG Key ID: CA088E6D9284F870

110
conf.json
View File

@ -1,61 +1,59 @@
{ {
"stage": { "stages": [
"stages": [ {
{ "name": "cpplint",
"name": "cpplint", "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": "cpplint",
"with": { "with": {
"default": { "score": 0,
"args": [ "comment": "check done",
"cpplint", "matches": [
"--recursive", {
"." "keywords": [
], "whitespace",
"env": [ "legal"
"PATH=/usr/bin:/bin:/usr/local/bin" ],
], "score": 5
"cpuLimit": 10000000000,
"memoryLimit": 104857600,
"procLimit": 50,
"copyInDir": ".",
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 65536
},
"stderr": {
"name": "stderr",
"max": 65536
} }
} ]
} }
}, }
"parsers": [ ]
{ }
"name": "cpplint", ]
"with": {
"score": 0,
"comment": "check done",
"matches": [
{
"keywords": [
"whitespace",
"legal"
],
"score": 5
}
]
}
}
]
}
]
}
} }