71 lines
1.6 KiB
JSON
71 lines
1.6 KiB
JSON
{
|
|
"stages": [
|
|
{
|
|
"name": "keyword",
|
|
"executor": {
|
|
"name": "sandbox",
|
|
"with": {
|
|
"default": {
|
|
"args": [
|
|
"bash",
|
|
"-c",
|
|
"clang-tidy-18 --header-filter=.* --quiet -checks=* src/*.cpp"
|
|
],
|
|
"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": {
|
|
"fullScore": 1000,
|
|
"minScore": 0,
|
|
"files": [
|
|
"stdout"
|
|
],
|
|
"endOnMatch": true,
|
|
"matches": [
|
|
{
|
|
"keyword": "[cppcoreguidelines-avoid-non-const-global-variables]",
|
|
"score": 5
|
|
},
|
|
{
|
|
"keyword": "[readability-identifier-length]",
|
|
"score": 2
|
|
},
|
|
{
|
|
"keyword": "[misc-use-anonymous-namespace]",
|
|
"score": 2
|
|
},
|
|
{
|
|
"keyword": "[llvmlibc-implementation-in-namespace]",
|
|
"score": 0
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|