-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbiome.jsonc
More file actions
83 lines (77 loc) · 1.65 KB
/
biome.jsonc
File metadata and controls
83 lines (77 loc) · 1.65 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
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"root": true,
"files": {
"ignoreUnknown": true,
"maxSize": 5242880, // 5 MB
"includes": ["**/*.{js,ts,tsx,json,jsonc}", "!**/dist", "!src/data/*", "!.vscode"]
},
"formatter": {
"enabled": true,
"useEditorconfig": true,
"lineWidth": 100,
"bracketSameLine": false,
"bracketSpacing": true
},
"linter": {
"enabled": true,
"rules": {
"suspicious": {
"noArrayIndexKey": "warn"
}
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"useSortedKeys": "off",
"organizeImports": {
"level": "on",
"options": {
"groups": [
["preact", "preact/**"],
":BLANK_LINE:",
[":PACKAGE:", "!src/**"],
":BLANK_LINE:",
":ALIAS:",
":BLANK_LINE:",
["src", "src/**"],
":BLANK_LINE:",
["..", "../**"],
":BLANK_LINE:",
[".", "./**"]
]
}
}
}
}
},
"javascript": {
"jsxRuntime": "transparent",
"formatter": {
"arrowParentheses": "asNeeded",
"quoteStyle": "double",
"quoteProperties": "asNeeded",
"jsxQuoteStyle": "double",
"semicolons": "always",
"trailingCommas": "all"
}
},
"overrides": [
{
"includes": ["**/*.spec.ts", "**/*.test.ts"],
"linter": {
"domains": {
"test": "all"
}
}
},
{
"includes": ["**/index.ts"],
"assist": {
"enabled": false
}
}
]
}