-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbiome.json
53 lines (53 loc) · 1.05 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
52
53
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"files": {
"ignore": [".next", "next-env.d.ts", "README.md", ".vscode", ".github"],
"ignoreUnknown": true
},
"organizeImports": {
"enabled": true
},
"formatter": {
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "off"
},
"correctness": {
"noUnusedVariables": "error",
"useHookAtTopLevel": "error"
},
"a11y": {
"useValidAnchor": "warn"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"style": {
"useNamingConvention": {
"level": "warn",
"options": {
"enumMemberCase": "CONSTANT_CASE"
}
},
"useSingleCaseStatement": "error"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"json": {
"formatter": {
"indentWidth": 2
}
}
}