-
Notifications
You must be signed in to change notification settings - Fork 1
/
configSchema.json
88 lines (88 loc) · 2.51 KB
/
configSchema.json
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
{
"$schema": "http://json-schema.org/schema#",
"$id": "http://raw.githubusercontent.com/nowarp/misti/master/configSchema.json",
"title": "Misti configuration schema",
"description": "JSON Schema for misti.config.json",
"type": "object",
"required": [
"detectors"
],
"properties": {
"detectors": {
"type": "array",
"description": "List of Misti detectors to run, each potentially defined by a path and always by a class name. Built-in detectors don't have a path.",
"items": {
"type": "object",
"properties": {
"modulePath": {
"type": "string",
"description": "The file path of the detector module",
"optional": true
},
"className": {
"type": "string",
"description": "The class name of the detector"
}
},
"required": [
"className"
],
"additionalProperties": false
}
},
"suppressions": {
"type": "array",
"description": "List of warning suppressions",
"items": {
"type": "object",
"properties": {
"detector": {
"type": "string",
"description": "The name of the detector"
},
"position": {
"type": "string",
"description": "The position of the suppression in the format 'fileName:line:column'"
}
},
"required": [
"detector",
"position"
],
"additionalProperties": false
}
},
"ignoredProjects": {
"type": "array",
"description": "List of Tact projects that will be ignored by the analyzer",
"items": {
"type": "string"
}
},
"soufflePath": {
"type": "string",
"description": "Directory to save generated Soufflé files. If not set, a temporary directory will be used.",
"optional": true
},
"tactStdlibPath": {
"type": "string",
"description": "Path to Tact standard library. If not set, the default stdlib from the actual Tact setup will be used.",
"optional": true
},
"unusedPrefix": {
"type": "string",
"description": "Identifiers starting with this prefix won't be reported as unused by built-in detectors.",
"default": "_"
},
"verbosity": {
"type": "string",
"description": "Verbosity level of the logs output by the system.",
"enum": [
"quiet",
"debug",
"default"
],
"default": "default"
}
}
}