feat: remove bash -c
This commit is contained in:
parent
8489ad8d86
commit
b6fa85790f
35
conf.json
35
conf.json
|
@ -7,20 +7,19 @@
|
|||
"with": {
|
||||
"default": {
|
||||
"args": [
|
||||
"bash",
|
||||
"-c",
|
||||
"cppcheck --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}' --force --enable=all --quiet src/*.cpp"
|
||||
],
|
||||
"env": [
|
||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
||||
"cppcheck",
|
||||
"--template={\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}",
|
||||
"--force",
|
||||
"--enable=all",
|
||||
"--quiet",
|
||||
"."
|
||||
],
|
||||
"env": ["PATH=/usr/bin:/bin:/usr/local/bin"],
|
||||
"cpuLimit": 10000000000,
|
||||
"memoryLimit": 419430400,
|
||||
"procLimit": 50,
|
||||
"copyInDir": ".",
|
||||
"copyOut": [
|
||||
"stdout"
|
||||
],
|
||||
"copyOut": ["stdout"],
|
||||
"stdin": {
|
||||
"content": ""
|
||||
},
|
||||
|
@ -41,29 +40,19 @@
|
|||
"score": 100,
|
||||
"matches": [
|
||||
{
|
||||
"severity": [
|
||||
"error"
|
||||
],
|
||||
"severity": ["error"],
|
||||
"score": 5
|
||||
},
|
||||
{
|
||||
"severity": [
|
||||
"warning"
|
||||
],
|
||||
"severity": ["warning"],
|
||||
"score": 2
|
||||
},
|
||||
{
|
||||
"severity": [
|
||||
"portability",
|
||||
"performance",
|
||||
"style"
|
||||
],
|
||||
"severity": ["portability", "performance", "style"],
|
||||
"score": 1
|
||||
},
|
||||
{
|
||||
"severity": [
|
||||
"debug"
|
||||
],
|
||||
"severity": ["debug"],
|
||||
"score": 0
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user