-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbiome.jsonc
43 lines (43 loc) · 1.33 KB
/
biome.jsonc
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
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"formatter": {
"indentStyle": "space",
"lineWidth": 120
},
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded",
"quoteStyle": "single",
"jsxQuoteStyle": "double",
"semicolons": "asNeeded"
},
"globals": ["vi", "test", "describe", "it", "beforeEach", "afterEach", "expect"] // vitest globals
},
"organizeImports": { "enabled": true },
"linter": {
"rules": {
"all": true,
"correctness": {
"useImportExtensions": "off" // For simple coding purposes
},
"performance": {
"noBarrelFile": "off", // For simple coding purposes
"noReExportAll": "off" // For consistency in file separation
},
"style": {
"noDefaultExport": "off", // using default export
"noNonNullAssertion": "off", // Allow Non Null
"useBlockStatements": "off", // For simple coding purposes
"useDefaultSwitchClause": "off", // For simple coding purposes
"useNamingConvention": "off", // To accommodate the special naming conventions
"useSingleCaseStatement": "off" // For simple coding purposes
},
"suspicious": {
"noExplicitAny": "off" // Allow type any
}
}
},
"files": {
"ignore": ["coverage", "dist", "package.json"]
}
}