You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/getting-started/configuration.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,9 @@ The `alcops.json` file provides analyzer-specific configuration. Place it in the
13
13
14
14
```json
15
15
{
16
-
"cognitiveComplexityThreshold": 15,
17
-
"cyclomaticComplexityThreshold": 8,
18
-
"maintainabilityIndexThreshold": 20
16
+
"CognitiveComplexityThreshold": 15,
17
+
"CyclomaticComplexityThreshold": 8,
18
+
"MaintainabilityIndexThreshold": 20
19
19
}
20
20
```
21
21
@@ -32,20 +32,20 @@ The `alcops.json` file provides analyzer-specific configuration. Place it in the
32
32
33
33
Property names are case-insensitive. Comments and trailing commas are allowed.
34
34
35
-
### namingPatterns
35
+
### NamingPatterns
36
36
37
-
Override the default naming validation patterns per target. Each target accepts `allowPattern`, `disallowPattern`, `allowDescription`, and `disallowDescription`.
37
+
Override the default naming validation patterns per target. Each target accepts `AllowPattern`, `DisallowPattern`, `AllowDescription`, and `DisallowDescription`.
38
38
39
39
```json
40
40
{
41
41
"NamingPatterns": {
42
42
"Variable": {
43
-
"allowPattern": "^[A-Z]",
44
-
"allowDescription": "should start with an uppercase letter"
43
+
"AllowPattern": "^[A-Z]",
44
+
"AllowDescription": "should start with an uppercase letter"
45
45
},
46
46
"EnumValue": {
47
-
"disallowPattern": "^_",
48
-
"disallowDescription": "should not start with an underscore"
47
+
"DisallowPattern": "^_",
48
+
"DisallowDescription": "should not start with an underscore"
0 commit comments