Skip to content

Commit c4ec8fe

Browse files
authored
Fix remaining alcops.json property casing (#152)
1 parent 5642d9f commit c4ec8fe

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

content/docs/getting-started/configuration.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ The `alcops.json` file provides analyzer-specific configuration. Place it in the
1313

1414
```json
1515
{
16-
"cognitiveComplexityThreshold": 15,
17-
"cyclomaticComplexityThreshold": 8,
18-
"maintainabilityIndexThreshold": 20
16+
"CognitiveComplexityThreshold": 15,
17+
"CyclomaticComplexityThreshold": 8,
18+
"MaintainabilityIndexThreshold": 20
1919
}
2020
```
2121

@@ -32,20 +32,20 @@ The `alcops.json` file provides analyzer-specific configuration. Place it in the
3232

3333
Property names are case-insensitive. Comments and trailing commas are allowed.
3434

35-
### namingPatterns
35+
### NamingPatterns
3636

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`.
3838

3939
```json
4040
{
4141
"NamingPatterns": {
4242
"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"
4545
},
4646
"EnumValue": {
47-
"disallowPattern": "^_",
48-
"disallowDescription": "should not start with an underscore"
47+
"DisallowPattern": "^_",
48+
"DisallowDescription": "should not start with an underscore"
4949
}
5050
}
5151
}
@@ -55,13 +55,13 @@ Valid targets: `Procedure`, `LocalProcedure`, `GlobalProcedure`, `EventSubscribe
5555

5656
`LocalProcedure`, `GlobalProcedure`, `EventSubscriber`, and `EventDeclaration` inherit from `Procedure` when no explicit override is configured.
5757

58-
### languagesToTranslate
58+
### LanguagesToTranslate
5959

6060
Specify which language codes must have translations present in the `.xlf` files.
6161

6262
```json
6363
{
64-
"languagesToTranslate": ["da-DK", "de-DE"]
64+
"LanguagesToTranslate": ["da-DK", "de-DE"]
6565
}
6666
```
6767

0 commit comments

Comments
 (0)