-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbiome.jsonc
43 lines (43 loc) · 894 Bytes
/
biome.jsonc
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
{
"$schema": "https://biomejs.dev/schemas/1.8.2/schema.json",
"extends": ["./src/configs/biome/biome.jsonc"],
"organizeImports": { "enabled": false },
"linter": {
"rules": {
"style": {
"noDefaultExport": "error",
"useFilenamingConvention": {
"level": "error",
"options": {
"requireAscii": true,
"filenameCases": ["kebab-case"]
}
}
},
"suspicious": {
"noExplicitAny": "off"
}
}
},
"overrides": [
{
// Workaround to match the format that npm uses
"include": ["package.json"],
"json": {
"formatter": {
"lineWidth": 1
}
}
},
{
"include": ["src/lib/logger.ts"],
"linter": {
"rules": {
"suspicious": {
"noConsoleLog": "off"
}
}
}
}
]
}