-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
biome.json
51 lines (51 loc) · 1.2 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.9.3/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "main"
},
"organizeImports": {
"enabled": true,
"ignore": ["node_modules", "dist", "out", ".venv", "public", "src/py"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 180,
"lineEnding": "lf",
"ignore": ["node_modules", "dist", "out", ".next", "public", "src/py"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off"
},
"complexity": {
"noForEach": "off"
},
"a11y": {
"noSvgWithoutTitle": "off"
},
"nursery": {
"useSortedClasses": "warn"
}
},
"ignore": ["node_modules", "dist", "out", ".next", "public"]
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"jsxQuoteStyle": "double",
"semicolons": "asNeeded"
}
},
"files": {
"ignore": ["**/node_modules", "**/dist", "CHANGELOG.md", "package-lock.json", "pnpm-lock.yaml", ".venv", "out", "src/py"]
}
}