-
Notifications
You must be signed in to change notification settings - Fork 1
/
biome.json
39 lines (39 loc) · 830 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
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"files": {
"ignore": ["**/.next", "**/node_modules", "next-env.d.ts"]
},
"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"
}
}
},
"organizeImports": {
"enabled": true
}
}