d1be5ea136
Summary: Unfortunately, `cppcheck` fails to detect various macros as valid syntax. Reviewers: teon.banek Reviewed By: teon.banek Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D2674
17 lines
586 B
Plaintext
17 lines
586 B
Plaintext
{
|
|
"linters": {
|
|
"clang-tidy": {
|
|
"type": "script-and-regex",
|
|
"include": "(\\.(cpp|cc|cxx|c|h|hpp|lcp)$)",
|
|
"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"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|