-
-
Notifications
You must be signed in to change notification settings - Fork 486
Expand file tree
/
Copy pathbiome.json
More file actions
97 lines (97 loc) · 2.55 KB
/
Copy pathbiome.json
File metadata and controls
97 lines (97 loc) · 2.55 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"$schema": "https://biomejs.dev/schemas/2.3.12/schema.json",
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf"
},
"files": {
"includes": [
"**",
"!!**/dist",
"!!docs-site/.docusaurus",
"!!docs-site/build",
"!!**/.venv",
"!!.claude",
"!!data",
"!!storage"
]
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"linter": {
"rules": {
"style": {
"noRestrictedImports": {
"level": "error",
"options": {
"patterns": [
{
"group": [
"../infra/**",
"../../infra/**",
"../../../infra/**",
"../../../../infra/**",
"../shared/**",
"../../shared/**",
"../../../shared/**",
"../../../../shared/**"
],
"message": "Use path aliases (for example @infra/* or @shared/*) instead of parent-relative imports for shared modules."
},
{
"group": [
"../../api",
"../../api/**",
"../../hooks",
"../../hooks/**",
"../../components",
"../../components/**",
"../../lib",
"../../lib/**",
"../../test",
"../../test/**"
],
"message": "Use @client/* aliases instead of ../../ imports for client modules."
},
{
"group": [
"../../services",
"../../services/**",
"../../repositories",
"../../repositories/**",
"../../config",
"../../config/**",
"../../utils",
"../../utils/**",
"../../pipeline",
"../../pipeline/**",
"../../db",
"../../db/**",
"../../extractors",
"../../extractors/**"
],
"message": "Use @server/* aliases instead of ../../ imports for server modules."
}
]
}
}
}
}
},
"overrides": [
{
"includes": ["**/*.test.ts", "**/*.test.tsx", "**/test-utils.ts"],
"linter": {
"rules": {
"suspicious": {
"noExplicitAny": "off"
}
}
}
}
]
}