2019-04-23 21:05:17 +08:00
|
|
|
{
|
|
|
|
"linters": {
|
|
|
|
"clang-tidy": {
|
|
|
|
"type": "script-and-regex",
|
2020-02-13 18:38:32 +08:00
|
|
|
"include": "(\\.(cpp|cc|cxx|c|h|hpp|lcp)$)",
|
2019-04-23 21:05:17 +08:00
|
|
|
"script-and-regex.script": "./tools/arc-clang-tidy",
|
|
|
|
"script-and-regex.regex": "/^(?P<file>.*):(?P<line>\\d+):(?P<char>\\d+): (?P<severity>warning|error): (?P<message>.*)$/m"
|
2020-02-13 18:38:32 +08:00
|
|
|
},
|
|
|
|
"clang-format": {
|
|
|
|
"type": "script-and-regex",
|
|
|
|
"include": "(\\.(cpp|cc|cxx|c|h|hpp)$)",
|
|
|
|
"script-and-regex.script": "./tools/arc-clang-format",
|
|
|
|
"script-and-regex.regex": "/^(?P<severity>warning):(?P<offset>\\d+):(?P<message>.*)$/m"
|
2019-04-23 21:05:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|