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