feat: use keywords
This commit is contained in:
parent
89472a280c
commit
e1444593a9
23
conf.json
23
conf.json
|
@ -6,22 +6,13 @@
|
||||||
"name": "sandbox",
|
"name": "sandbox",
|
||||||
"with": {
|
"with": {
|
||||||
"default": {
|
"default": {
|
||||||
"args": [
|
"args": ["bash", "-c", "cpplint src/*.cpp"],
|
||||||
"bash",
|
"env": ["PATH=/usr/bin:/bin:/usr/local/bin"],
|
||||||
"-c",
|
|
||||||
"cpplint src/*.cpp"
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"cpuLimit": 10000000000,
|
"cpuLimit": 10000000000,
|
||||||
"memoryLimit": 104857600,
|
"memoryLimit": 104857600,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"copyInDir": ".",
|
"copyInDir": ".",
|
||||||
"copyOut": [
|
"copyOut": ["stdout", "stderr"],
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
],
|
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": ""
|
"content": ""
|
||||||
},
|
},
|
||||||
|
@ -41,17 +32,15 @@
|
||||||
"with": {
|
"with": {
|
||||||
"fullScore": 100,
|
"fullScore": 100,
|
||||||
"minScore": 0,
|
"minScore": 0,
|
||||||
"files": [
|
"files": ["stderr"],
|
||||||
"stderr"
|
|
||||||
],
|
|
||||||
"endOnMatch": true,
|
"endOnMatch": true,
|
||||||
"matches": [
|
"matches": [
|
||||||
{
|
{
|
||||||
"keyword": "[legal/copyright]",
|
"keywords": ["[legal/copyright]"],
|
||||||
"score": 5
|
"score": 5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"keyword": "[runtime/references]",
|
"keywords": ["[runtime/references]"],
|
||||||
"score": 2
|
"score": 2
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user