-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbiome.jsonc
More file actions
95 lines (95 loc) · 2.54 KB
/
Copy pathbiome.jsonc
File metadata and controls
95 lines (95 loc) · 2.54 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
95
{
"$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"includes": ["**", "!.drive"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
// "on" would take this rule's own default severity, info, which
// --error-on-warnings does not promote. Pinned so CI fails on it.
"noExcessiveCognitiveComplexity": "error",
"noForEach": "on",
"noImplicitCoercions": "on",
// Defaults to info via "recommended", which --error-on-warnings does
// not promote. Listed explicitly so CI fails on it.
"useLiteralKeys": "error"
},
"nursery": {
"noConditionalExpect": "error",
"noFloatingPromises": "on",
"noForIn": "on",
"noLoopFunc": "on",
"useDisposables": "on"
},
"performance": {
// "on" would take this rule's own default severity, info, which
// --error-on-warnings does not promote. Pinned so CI fails on it.
"noAwaitInLoops": "error",
"noBarrelFile": "on",
"useTopLevelRegex": "on"
},
"style": {
"useCollapsedElseIf": "on",
"useCollapsedIf": "on",
"noNestedTernary": "error",
"noParameterAssign": "on"
},
"suspicious": {
"noVar": "on",
"useGuardForIn": "on",
"useStaticResponseMethods": "on"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"overrides": [
{
// Re-export hubs whose shape is the point: the tsdown entrypoints,
// and the shims left behind in the commander shell when the modules
// it shared with the engine tree moved out of it. The shims die with the
// shell.
"includes": [
"packages/cli-engine/src/exports/**",
"packages/cli-telemetry/src/exports/**",
"packages/prisma/src/config.ts",
"packages/cli/src/shell/cli-command.ts",
"packages/cli/src/shell/command-arguments.ts",
"packages/cli/src/shell/errors.ts",
"packages/cli/src/shell/next-actions.ts"
],
"linter": {
"rules": {
"performance": {
"noBarrelFile": "off"
}
}
}
}
],
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}