-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodebase-intelligence.json
More file actions
49 lines (49 loc) · 1.42 KB
/
codebase-intelligence.json
File metadata and controls
49 lines (49 loc) · 1.42 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
{
"$schema": "./schema.json",
"root": ".",
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts", "tests/**", "dist/**"],
"entry": ["src/cli.ts"],
"ignore": {
"exportsUsedInFile": false
},
"rules": {
"no-circular-deps": "error",
"no-dead-exports": "warn",
"no-dead-files": "warn",
"no-unused-deps": "warn",
"no-duplication": ["warn", { "minTokens": 50, "mode": "mild" }],
"max-cyclomatic-complexity": ["warn", { "max": 20 }],
"no-boundary-violations": "warn",
"no-divergent-paths": "off",
"no-comments": "off"
},
"boundaries": {
"zones": [
{ "name": "types", "patterns": ["src/types/**"] },
{ "name": "parser", "patterns": ["src/parser/**"] },
{ "name": "graph", "patterns": ["src/graph/**"] },
{ "name": "analyzer", "patterns": ["src/analyzer/**"] },
{ "name": "core", "patterns": ["src/core/**"] },
{ "name": "surfaces", "patterns": ["src/cli.ts", "src/mcp/**"] }
],
"rules": [
{ "from": "types", "forbid": ["parser", "graph", "analyzer", "core", "surfaces"] },
{ "from": "parser", "allow": ["types"] },
{ "from": "graph", "allow": ["types", "parser"] },
{ "from": "analyzer", "allow": ["types", "graph"] }
]
},
"thresholds": {
"health": { "minScore": 80 }
},
"output": {
"format": "text",
"quiet": false
},
"ci": {
"gate": "all",
"failOn": "error",
"maxWarnings": -1
}
}