-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-env.config.json
More file actions
41 lines (35 loc) · 1014 Bytes
/
test-env.config.json
File metadata and controls
41 lines (35 loc) · 1014 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
{
"$schema": "../../test-env.config.schema.json",
"description": "Example validator configuration",
"processEnvCheck": {
"enabled": true,
"excludeDirs": [],
"excludeFiles": [],
"comment": "Detect direct process.env usage outside env.ts"
},
"envCoverageCheck": {
"enabled": true,
"excludeVars": [],
"comment": "Ensure env.ts schema matches .env.example"
},
"orphanedEnvVarsCheck": {
"enabled": true,
"excludeVars": [],
"comment": "Find vars in .env.example not used in any env.ts"
},
"undocumentedEnvVarsCheck": {
"enabled": true,
"excludeVars": ["NODE_ENV"],
"comment": "Find vars in env.ts not documented in .env.example"
},
"namingConventionCheck": {
"enabled": true,
"allowGenericNames": ["PORT", "HOST", "DEBUG"],
"comment": "Enforce UPPER_SNAKE_CASE and meaningful prefixes"
},
"duplicateValueCheck": {
"enabled": true,
"excludeVars": [],
"comment": "Detect multiple vars with identical values"
}
}