-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbiome.jsonc
More file actions
125 lines (125 loc) · 2.75 KB
/
biome.jsonc
File metadata and controls
125 lines (125 loc) · 2.75 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
"assist": {
"actions": {
"source": { "organizeImports": "on", "useSortedAttributes": "on" }
}
},
"linter": {
"enabled": true,
"domains": {
"react": "recommended",
"project": "recommended",
"test": "recommended"
},
"rules": {
"recommended": true,
"nursery": {
"noMisusedPromises": "error",
"noFloatingPromises": "error",
"useSortedClasses": {
"level": "error",
"fix": "safe",
"options": {
"attributes": [],
"functions": ["clsx", "cva", "tw", "cn"]
}
}
},
"correctness": {
"useHookAtTopLevel": "error"
},
"style": {
"noRestrictedGlobals": {
"options": {
"deniedGlobals": {
"Buffer": "Please use the Buffer from the node:buffer package."
}
},
"level": "error"
},
"useConsistentArrayType": {
"level": "error",
"options": {
"syntax": "shorthand"
}
},
"noNamespace": "error",
"useForOf": "error",
"noEnum": "warn",
"noExportedImports": "error"
},
"suspicious": {
"noEmptyBlockStatements": "error",
"useAwait": "error",
"noDuplicateElseIf": "error"
},
"performance": {}
}
},
"vcs": {
"enabled": true,
"clientKind": "git"
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"css": {
"linter": {
"enabled": false
},
"parser": {
"cssModules": false
},
"formatter": {
"enabled": false
},
"assist": {
"enabled": false
}
},
"javascript": { "globals": [] },
"json": {
"parser": {
"allowComments": true,
"allowTrailingCommas": true
}
},
"overrides": [],
"files": {
"includes": [
"*",
"apps/**",
"packages/**",
"turbo/**",
"tooling/**",
".vscode/**",
".github/**",
".cursor/**",
"!packages/dataforseo/src/client/index.ts",
"!packages/dataforseo/src/**/*.gen.ts",
// bug in biome with for loops, so we exclude this file for now
"!!packages/ui/src/components/ui/dropdrawer.tsx",
"!**/migrations",
"!**/worker-configuration.d.ts",
"!**/.content-collections",
"!**/.conductor",
"!**/orpc-contract.json",
"!**/node_modules",
"!**/.sst",
"!**/.turbo",
"!**/.cache",
"!**/dist",
"!**/docs",
"!**/.wrangler",
"!**/.output",
"!**/.tanstack",
"!**/.turbo",
"!**/.nitro",
"!**/routeTree.gen.ts",
"!**/sst-env.d.ts",
"!**/_renderer.tsx"
]
}
}