bd0fd2619c
Reviewers: teon.banek Reviewed By: teon.banek Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D2670
22 lines
722 B
Plaintext
22 lines
722 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"
|
|
},
|
|
"cppcheck": {
|
|
"type": "cppcheck",
|
|
"include": "(\\.(cpp|cc|cxx)$)",
|
|
"flags": ["--suppress=useStlAlgorithm"]
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|