-
Notifications
You must be signed in to change notification settings - Fork 14
/
biome.json
44 lines (44 loc) · 965 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
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"files": {
"ignore": ["node_modules/*", "dist/*", ".next/*"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineEnding": "lf"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noNonNullAssertion": "off",
"noUselessElse": "off",
"noParameterAssign": "off",
"noCommaOperator": "off"
},
"suspicious": {
"noAssignInExpressions": "off",
"noArrayIndexKey": "off"
},
"nursery": {
"recommended": true,
"useSortedClasses": {
"level": "warn",
"options": {
"attributes": ["className"],
"functions": ["cn", "cva"]
}
}
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"jsxQuoteStyle": "double",
"semicolons": "always"
}
}
}