-
Notifications
You must be signed in to change notification settings - Fork 45
/
biome.json
41 lines (41 loc) · 852 Bytes
/
biome.json
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
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"formatWithErrors": true,
"attributePosition": "auto",
"indentStyle": "tab",
"indentWidth": 2,
"lineWidth": 80,
"ignore": ["node_modules", ".next", "drizzle-migrations"]
},
"linter": {
"ignore": ["node_modules", ".next", "drizzle-migrations"],
"rules": {
"style": {
"noNonNullAssertion": { "level": "off" },
"useImportType": { "level": "warn" }
},
"suspicious": {
"noArrayIndexKey": { "level": "warn" }
},
"a11y": {
"noSvgWithoutTitle": {
"level": "off"
}
},
"nursery": {
"useSortedClasses": {
"level": "warn",
"options": {
"attributes": ["classList"],
"functions": ["clsx", "cva", "tw"]
}
}
},
"recommended": true
}
}
}