Update array submodule
[ghc.git] / .arclint
1 {
2   "linters": {
3     "filename": {
4       "type": "filename"
5     },
6     "generated": {
7       "type": "generated"
8     },
9     "merge-conflict": {
10       "type": "merge-conflict",
11       "exclude": "(\\.rst$)"
12     },
13     "nolint": {
14       "type": "nolint"
15     },
16     "haskell": {
17       "type": "text",
18       "include": ["(\\.(l?hs(-boot)?|x|y\\.pp)(\\.in)?$)"],
19       "severity": {
20         "5": "disabled",
21         "2": "warning"
22       }
23     },
24     "c": {
25       "type": "text",
26       "include": ["(\\.(c|h)(\\.in)?$)"],
27       "severity": {
28         "2": "warning"
29       }
30     },
31     "text-xml": {
32       "type": "text",
33       "include": "(\\.xml$)",
34       "severity": {
35         "5": "disabled",
36         "3": "disabled",
37         "2": "warning"
38       }
39     },
40     "shell": {
41       "type": "text",
42       "include": [ "(\\.sh$)" ],
43       "text.max-line-length": 200,
44       "severity": {
45         "2": "warning"
46       }
47     },
48     "makefiles": {
49       "type": "text",
50       "include": [ "(Makefile$)", "(\\.mk$)" ],
51       "text.max-line-length": 400,
52       "severity": {
53         "2": "disabled"
54       }
55     },
56     "cabal": {
57       "type": "text",
58       "include": ["(\\.cabal(\\.in)?$)"],
59       "severity": {
60         "5": "disabled",
61         "2": "warning"
62       }
63     },
64     "other-text": {
65       "type": "text",
66       "include": ["(.travis.yml?)", "(.md$)", "(.txt$)"],
67       "severity": {
68         "5": "disabled",
69         "2": "warning"
70       }
71     },
72     "check-binaries": {
73       "type": "external-json",
74       "external-json.script": "python3 .arc-linters/check-binaries.py"
75     },
76     "check-makefiles": {
77       "type": "external-json",
78       "include": ["(Makefile$)"],
79       "external-json.script": "python3 .arc-linters/check-makefiles.py"
80     },
81     "bad-assert-clang-cpp": {
82       "type": "external-json",
83       "include": ["(\\.(l?hs|x|y\\.pp)(\\.in)?$)", "(\\.(c|h)$)"],
84       "external-json.script": "python3 .arc-linters/check-cpp.py"
85     }
86   },
87
88   "exclude":
89     [ "(^libffi-tarballs)",
90       "(^libraries/binary)",
91       "(^libraries/bytestring)",
92       "(^libraries/Cabal)",
93       "(^libraries/containers)",
94       "(^libraries/haskeline)",
95       "(^libraries/pretty)",
96       "(^libraries/terminfo)",
97       "(^libraries/transformers)",
98       "(^libraries/xhtml)",
99       "(^libraries/Win32)",
100       "(^libraries/primitive)",
101       "(^libraries/vector)",
102       "(^libraries/time)",
103       "(^libraries/random)",
104       "(^libraries/array)",
105       "(^libraries/deepseq)",
106       "(^libraries/directory)",
107       "(^libraries/filepath)",
108       "(^libraries/haskell98)",
109       "(^libraries/haskell2010)",
110       "(^libraries/hoopl)",
111       "(^libraries/hpc)",
112       "(^libraries/old-locale)",
113       "(^libraries/old-time)",
114       "(^libraries/process)",
115       "(^libraries/unix)",
116       "(^libraries/parallel)",
117       "(^libraries/stm)",
118       "(^libraries/dph)",
119       "(^utils/haddock)",
120       "(^nofib)",
121       "(^utils/hsc2hs)",
122       "(^libffi-tarballs)",
123       "(^ghc-tarballs)"
124     ]
125 }