wraitii
739a63828a
Including third party libraries to the cppcheck include path is annoying and the unknownMacro errors are generally not useful. This was SVN commit r25200.
40 lines
1009 B
Plaintext
40 lines
1009 B
Plaintext
{
|
|
"exclude": [
|
|
"(^binaries/system/)",
|
|
"(^build/premake/premake5/)",
|
|
"(^source/third_party/)",
|
|
"(test_[^.]+.cpp$)",
|
|
"(^libraries/)"
|
|
],
|
|
"linters": {
|
|
"text": {
|
|
"type": "text",
|
|
"severity": {
|
|
"1": "disabled",
|
|
"2": "disabled",
|
|
"3": "disabled",
|
|
"5": "disabled"
|
|
}
|
|
},
|
|
"licence-year": {
|
|
"type": "licence-year"
|
|
},
|
|
"json": {
|
|
"type": "json",
|
|
"include": "/\\.json$/"
|
|
},
|
|
"eslint": {
|
|
"type": "eslint",
|
|
"bin": ["eslint", "build\\arclint\\dummies\\eslint.bat", "build/arclint/dummies/eslint.php"],
|
|
"include": "/\\.js$/",
|
|
"config": "build/arclint/configs/eslintrc.json"
|
|
},
|
|
"cppcheck": {
|
|
"type": "cppcheck",
|
|
"bin": ["cppcheck", "build\\arclint\\dummies\\cppcheck.bat", "build/arclint/dummies/cppcheck.php"],
|
|
"include": "/\\.(h|cpp)$/",
|
|
"flags": ["--max-configs=40", "--language=c++", "--std=c++17", "-Isource/", "--suppress=unknownMacro"]
|
|
}
|
|
}
|
|
}
|