-
Notifications
You must be signed in to change notification settings - Fork 83
/
biome.json
51 lines (51 loc) · 1.33 KB
/
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
42
43
44
45
46
47
48
49
50
51
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off",
"noThenProperty": "off",
"noMisleadingCharacterClass": "off",
"noArrayIndexKey": "off"
},
"style": {
"noUnusedTemplateLiteral": "off"
},
"correctness": {
"useExhaustiveDependencies": {
"level": "error",
"options": {
"hooks": [
{ "name": "useInputState", "stableResult": [1] },
{ "name": "useDisclosure", "stableResult": [1] },
{ "name": "useBoolean", "stableResult": [1] },
{ "name": "useOnboarding", "stableResult": [1] },
{ "name": "useImmer", "stableResult": [1] },
{ "name": "useSetting", "stableResult": [1] },
{ "name": "useNodesState", "stableResult": [1, 2] },
{ "name": "useEdgesState", "stableResult": [1, 2] },
{ "name": "useStable", "stableResult": true },
{ "name": "useReactFlow", "stableResult": true }
]
}
}
}
}
},
"formatter": {
"enabled": true,
"indentWidth": 4,
"indentStyle": "tab",
"lineWidth": 100,
"attributePosition": "multiline",
"ignore": ["src/util/icons.tsx"]
},
"files": {
"ignore": [".vscode", ".github", "node_modules", "src-tauri", "dist", "*.js"]
}
}