-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathexample.config.json
More file actions
60 lines (48 loc) · 1.06 KB
/
example.config.json
File metadata and controls
60 lines (48 loc) · 1.06 KB
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
{
"target": "/path/to/target",
"score_only": false,
"_comment": "ignore paths (| delimited)",
"ignore": "",
"_comment": "File extensions. example: 'php|inc', default 'php'",
"extensions": "",
"quiet": false,
"_comment": "Add extra information",
"information": true,
"_comment": "Set PHP memory limit",
"memory_limit": "512M",
"_comment" : "Available filters, will ignore flags of this type",
"filter":
"information",
"conventions",
"warnings",
"refactor",
"documentation",
"security"
],
"_comment": "Types can be json or html",
"report": {
"type": "html",
"out": "/path/to/write/files",
"overwrite": false,
"dry_run": false
},
"_comment": "Will harvest documentation from code and dump in json format",
"harvest": {
"out": "/path/to/write/file",
"dry_run": false
}
"_comment": "Ignore following rules",
"skip_rules": [
"W18"
],
"_comment": "Use only following rules",
"use_rules": [
"R5"
],
"_comment": "Override rule options",
"custom_rules" [
"R21": {
"compare": {"Old_name": "New_name"}
}
]
}