Repository navigation
Expand file tree
/
Copy pathbiome.jsonc
More file actions
84 lines (84 loc) · 1.97 KB
/
Copy pathbiome.jsonc
File metadata and controls
84 lines (84 loc) · 1.97 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
{
"$schema": "https://biomejs.dev/schemas/2.6.7/schema.json",
"files": {
"includes": [
"src/**",
"tests/**",
"index.js",
"index.ts",
"tsdown.config.ts",
"vitest.config.ts",
"vitest.release.config.ts",
// Generator output: the engine's drift check holds it to what compose synth writes
"!src/infra/tests/fixtures/app/compose.gen.yml"
]
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [[":PACKAGE_WITH_PROTOCOL:", ":PACKAGE:"], ":PATH:"]
}
}
}
}
},
"linter": {
"enabled": true,
"rules": {
"preset": "recommended",
"correctness": {
"noUnusedVariables": "off"
},
"suspicious": {
"noTemplateCurlyInString": "info"
},
"style": {
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error",
"useNodejsImportProtocol": "error",
"noNonNullAssertion": "off"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 150,
"bracketSpacing": true
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"json": {
"parser": {
"allowComments": true
}
},
"overrides": [
{
// The deploy engine's `${VAR}` strings are Compose placeholders, not template literals.
"includes": ["src/infra/**"],
"linter": {
"rules": {
"suspicious": { "noTemplateCurlyInString": "off" }
}
}
},
{
// The engine's tests stub partial SDK shapes
"includes": ["src/infra/**/*.test.ts"],
"linter": { "rules": { "suspicious": { "noExplicitAny": "off" } } }
}
]
}