-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbiome.json
More file actions
94 lines (94 loc) · 2.09 KB
/
Copy pathbiome.json
File metadata and controls
94 lines (94 loc) · 2.09 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"$schema": "https://biomejs.dev/schemas/2.2.5/schema.json",
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"assist": {
"enabled": true,
"actions": {
"source": {
"recommended": true,
"organizeImports": "on"
}
}
},
"linter": {
"domains": {
"project": "recommended",
"test": "recommended"
},
"rules": {
"recommended": true,
"complexity": {
"noUselessConstructor": "error"
},
"performance": {
"noAccumulatingSpread": "error",
"noAwaitInLoops": "error",
"noDelete": "error",
"noNamespaceImport": "warn",
"noReExportAll": "warn",
"noBarrelFile": "warn",
"useTopLevelRegex": "warn"
},
"style": {
"useBlockStatements": "error",
"useImportType": "error",
"useNodejsImportProtocol": "error",
"noCommonJs": "warn"
},
"suspicious": {
"noExplicitAny": "error",
"noImplicitAnyLet": "error",
"noEvolvingTypes": "warn"
},
"nursery": {
"recommended": true,
"noFloatingPromises": "error",
"noMisusedPromises": "error",
"noImportCycles": "warn",
"useExhaustiveSwitchCases": "error"
}
}
},
"overrides": [
{
"includes": ["**/*.test.*", "**/*.spec.*", "**/__tests__/**"],
"linter": {
"rules": {
"suspicious": {
"noExplicitAny": "warn"
}
}
}
},
{
"includes": ["bench/**"],
"linter": {
"rules": {
"performance": {
"noAwaitInLoops": "off",
"useTopLevelRegex": "off",
"noNamespaceImport": "off"
}
}
}
},
{
"includes": [
"fixtures/**",
"test-assets/**",
"dist/**",
"coverage/**",
"bench/.baseline/**",
"bench/.results/**",
"bench/output/**"
],
"linter": { "enabled": false },
"formatter": { "enabled": false },
"assist": { "enabled": false }
}
]
}