-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjscan.config.example.json
More file actions
47 lines (47 loc) · 959 Bytes
/
jscan.config.example.json
File metadata and controls
47 lines (47 loc) · 959 Bytes
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
{
"complexity": {
"low_threshold": 10,
"medium_threshold": 20,
"max_complexity": 0,
"enabled": true,
"report_unchanged": false
},
"dead_code": {
"enabled": true,
"min_severity": "warning",
"show_context": false,
"context_lines": 3,
"sort_by": "severity",
"detect_after_return": true,
"detect_after_break": true,
"detect_after_continue": true,
"detect_after_throw": true,
"detect_unreachable_branches": true,
"ignore_patterns": []
},
"output": {
"format": "text",
"show_details": true,
"sort_by": "complexity",
"min_complexity": 1
},
"analysis": {
"include_patterns": [
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx",
"**/*.mjs",
"**/*.cjs"
],
"exclude_patterns": [
"node_modules",
"dist",
"build",
"*.min.js",
"*.bundle.js"
],
"recursive": true,
"follow_symlinks": false
}
}