Merge 'remotes/trunk'
[0ad.git] / .arclint
blobd9ecad8411dbbda6bb34d393fff99941d509e08d
2   "exclude": [
3     "(^binaries/system/)",
4     "(^build/premake/premake5/)",
5     "(^source/third_party/)",
6     "(test_[^.]+.cpp$)",
7     "(^libraries/)"
8   ],
9   "linters": {
10     "text": {
11       "type": "text",
12       "severity": {
13         "1": "disabled",
14         "2": "disabled",
15         "3": "disabled",
16         "5": "disabled"
17       }
18     },
19     "licence-year": {
20       "type": "licence-year"
21     },
22     "json": {
23       "type": "json",
24       "include": "/\\.json$/"
25     },
26     "eslint": {
27       "type": "eslint",
28       "bin": ["eslint", "build\\arclint\\dummies\\eslint.bat", "build/arclint/dummies/eslint.php"],
29       "include": "/\\.js$/",
30       "config": "build/arclint/configs/eslintrc.json"
31     },
32     "cppcheck": {
33       "type": "cppcheck",
34       "bin": ["cppcheck", "build\\arclint\\dummies\\cppcheck.bat", "build/arclint/dummies/cppcheck.php"],
35       "include": "/\\.(h|cpp)$/",
36       "flags": ["--max-configs=40", "--language=c++", "--std=c++17", "-Isource/", "--suppress=unknownMacro"]
37     }
38   }