-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbiome.jsonc
More file actions
66 lines (66 loc) · 2.27 KB
/
Copy pathbiome.jsonc
File metadata and controls
66 lines (66 loc) · 2.27 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
{
"$schema": "https://biomejs.dev/schemas/2.5.2/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": {
// Generated files (edit the source + `npm run gen:*` instead), goldens, and
// formats Biome has no business linting (.svg brand art / compiled examples,
// .vue SFCs where <script setup> imports are used by the template).
"includes": [
"**",
"!editors/archlang.tmLanguage.json",
"!editors/archlang.language-configuration.json",
"!playground/src/arch-language.js",
"!docs-site/.vitepress/theme/arch-highlight.js",
"!spec.llm.md",
"!docs/error-codes.md",
"!schemas/plan.schema.json",
"!schemas/intent.schema.json",
// …and their docs-site copies (sync-docs.mjs copyFileSync — must stay byte-identical
// to the generated sources, so the formatter must not touch them either):
"!docs-site/public/plan.schema.json",
"!docs-site/public/intent.schema.json",
"!bench/baseline.json",
"!test/__snapshots__",
"!test/__goldens__",
"!docs-site/.vitepress/cache",
"!docs-site/.vitepress/theme/shims.d.ts",
"!**/*.svg",
"!**/*.vue"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "always",
"trailingCommas": "all"
}
},
"linter": {
"enabled": true,
"rules": {
"preset": "recommended",
"style": {
// Deliberate idiom: `!` asserts structural invariants the code just checked.
"noNonNullAssertion": "off",
// String concat vs template literal is pure preference; not worth the churn.
"useTemplate": "off"
},
// `any` is confined to the untyped optional-dep seam (pdfkit).
"suspicious": { "noExplicitAny": "off" },
// Existing site CSS uses !important on purpose in a few overrides.
"complexity": { "noImportantStyles": "off" },
// Deferred: playground/index.html button types get fixed in the playground
// TypeScript migration; brand SVGs are art assets, not documents.
"a11y": "off"
}
},
"assist": {
"actions": { "source": { "organizeImports": "off" } }
}
}