Merge 'remotes/trunk'
[0ad.git] / .arclint
blobaddc172f8042bf8abe43a92d87abf4c3a39dd695
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     "project-name": {
20       "type": "project-name"
21     },
22     "licence-year": {
23       "type": "licence-year"
24     },
25     "json": {
26       "type": "json",
27       "include": "/\\.json$/"
28     },
29     "eslint": {
30       "type": "eslint",
31       "bin": ["eslint", "build\\arclint\\dummies\\eslint.bat", "build/arclint/dummies/eslint.php"],
32       "include": "/\\.js$/",
33       "config": "build/arclint/configs/eslintrc.json"
34     },
35     "cppcheck": {
36       "type": "cppcheck",
37       "bin": ["cppcheck", "build\\arclint\\dummies\\cppcheck.bat", "build/arclint/dummies/cppcheck.php"],
38       "include": "/\\.(h|cpp)$/",
39       "flags": ["--max-configs=40", "--language=c++", "--std=c++17", "-Isource/", "--suppress=unknownMacro"]
40     }
41   }