-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathbiome.jsonc
More file actions
52 lines (50 loc) · 1.17 KB
/
biome.jsonc
File metadata and controls
52 lines (50 loc) · 1.17 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
{
"$schema": "https://biomejs.dev/schemas/2.3.6/schema.json",
"linter": {
"enabled": true,
"includes": ["src/**/*.ts", "src/**/*.tsx"],
"rules": {
"recommended": true,
"suspicious": {
"noArrayIndexKey": "off"
},
"performance": {
"noAccumulatingSpread": "warn"
},
"complexity": {
"noForEach": "off"
},
"a11y": {
"noSvgWithoutTitle": "off",
"useKeyWithClickEvents": "off",
"useButtonType": "warn",
"noStaticElementInteractions": "warn",
"useFocusableInteractive": "warn",
"useSemanticElements": "warn",
"useAltText": "warn"
},
"correctness": {
"noUnusedVariables": "warn",
"noUnusedImports": "error",
"noSwitchDeclarations": "off",
"useExhaustiveDependencies": "warn"
},
"security": "warn",
"nursery": {
"useSortedClasses": "warn"
}
}
},
"formatter": {
"indentStyle": "space",
"includes": ["src/**/*.ts", "src/**/*.tsx"],
"indentWidth": 2,
"enabled": true,
"lineWidth": 80
},
"css": {
"parser": {
"tailwindDirectives": true
}
}
}