-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbiome.json
More file actions
67 lines (67 loc) · 1.67 KB
/
Copy pathbiome.json
File metadata and controls
67 lines (67 loc) · 1.67 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
{
"$schema": "https://biomejs.dev/schemas/2.5.8/schema.json",
"files": {
"includes": ["**", "!.next", "!node_modules", "!public", "!.history", "!docs/kb/site"]
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"linter": {
"enabled": true,
"rules": {
"preset": "recommended",
"correctness": {
"noUnusedImports": "warn",
"noUnusedVariables": "warn"
},
"suspicious": {
"noArrayIndexKey": "off"
},
"complexity": {
"noImportantStyles": "off"
},
"style": {
"noRestrictedImports": {
"level": "error",
"options": {
"paths": {
"echarts-gl": "echarts-gl registers WebGL renderers at module scope. Only VolumeSurface3D/TorrentAgeScatter3D may import it, and both are reached exclusively through dynamic(..., { ssr: false }). Importing it anywhere else pulls WebGL into that bundle — including the server render path. To reuse a 3D chart's helpers, move the shared code into chart-transforms.ts instead, which imports only formatters and types."
}
}
}
}
}
},
"overrides": [
{
"includes": [
"src/components/charts/VolumeSurface3D.tsx",
"src/components/charts/TorrentAgeScatter3D.tsx"
],
"linter": {
"rules": {
"style": {
"noRestrictedImports": "off"
}
}
}
}
],
"formatter": {
"enabled": false
},
"css": {
"parser": {
"cssModules": true,
"tailwindDirectives": true
},
"linter": {
"enabled": true
}
}
}