-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbiome.jsonc
34 lines (34 loc) · 956 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
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": { "ignoreUnknown": true, "include": ["**/*"], "ignore": [] },
"formatter": {
"enabled": true,
"formatWithErrors": true,
"indentStyle": "space",
"lineWidth": 100
},
"organizeImports": { "enabled": false },
"linter": {
"enabled": true,
"rules": {
"all": true,
"complexity": {
// this goes against typescript's noPropertyAccessFromIndexSignature
"useLiteralKeys": "off"
}
}
},
"overrides": [
{
// some/most config files on root export defaults from them
"include": ["*.config.ts", "*.config.js"],
"linter": { "rules": { "style": { "noDefaultExport": "off" } } }
},
{
// react
"include": ["**/*.tsx"],
"linter": { "rules": { "suspicious": { "noReactSpecificProps": "off" } } }
}
]
}