-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathbiome.json
More file actions
65 lines (65 loc) · 1.67 KB
/
biome.json
File metadata and controls
65 lines (65 loc) · 1.67 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
{
"$schema": "https://biomejs.dev/schemas/2.4.12/schema.json",
"assist": { "actions": { "source": { "organizeImports": "off" } } },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error",
"noConstructorReturn": "off"
},
"suspicious": {
"noDebugger": "warn",
"noAssignInExpressions": "off",
"noGlobalIsNan": "off",
"noConsole": { "level": "warn", "options": { "allow": ["log"] } }
},
"style": {
"useTemplate": "error",
"useBlockStatements": "off",
"noParameterAssign": "off",
"useNumberNamespace": "off"
},
"complexity": {
"noForEach": "off"
},
"performance": {
"noDelete": "off"
}
}
},
"formatter": {
"enabled": false,
"formatWithErrors": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 320,
"lineEnding": "lf",
"includes": ["**", "!**/dist", "!**/node_modules", "!**/docs"]
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"quoteProperties": "asNeeded",
"trailingCommas": "none",
"semicolons": "asNeeded",
"arrowParentheses": "asNeeded"
}
},
"files": {
"includes": ["**", "!**/dist", "!**/node_modules", "!**/*.min.js", "!**/public", "!**/src/assets", "!**/coverage", "!**/package-lock.json", "!**/pnpm-lock.yaml", "!**/yarn.lock", "!**/docs"]
},
"overrides": [
{
"includes": ["**/*.svelte", "**/*.astro", "**/*.vue"],
"linter": {
"rules": {
"correctness": {
"noUnusedVariables": "off"
}
}
}
}
]
}