-
Notifications
You must be signed in to change notification settings - Fork 5
/
biome.json
48 lines (48 loc) · 963 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
42
43
44
45
46
47
48
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"ignoreUnknown": true
},
"formatter": {
"lineWidth": 120
},
"linter": {
"enabled": true,
"rules": {
"a11y": {
"noSvgWithoutTitle": "off"
},
"correctness": {
"useHookAtTopLevel": "error"
},
"recommended": true,
"style": {
"noCommaOperator": "off",
"noNamespace": "error",
"noNegationElse": "error",
"noNonNullAssertion": "off",
"useCollapsedElseIf": "error",
"useShorthandArrayType": "error",
"useShorthandAssign": "error"
},
"suspicious": {
"noApproximativeNumericConstant": "error",
"noConstEnum": "off",
"noExplicitAny": "off",
"noMisrefactoredShorthandAssign": "error"
},
"nursery": {
"useSortedClasses": "warn"
}
}
},
"organizeImports": {
"enabled": true
},
"vcs": {
"clientKind": "git",
"defaultBranch": "main",
"enabled": true,
"useIgnoreFile": true
}
}