-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbiome.json
More file actions
37 lines (37 loc) · 1.04 KB
/
biome.json
File metadata and controls
37 lines (37 loc) · 1.04 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
{
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noAdjacentSpacesInRegex": "error",
"noArguments": "error",
"noExtraBooleanCast": "error",
"noUselessCatch": "error"
},
"correctness": {
"noUndeclaredVariables": "error",
"noUnusedLabels": "error",
"noUnusedVariables": "error",
"useJsxKeyInIterable": "error"
},
"style": {
"useBlockStatements": "error",
"useConst": "error",
"useSingleVarDeclarator": "error"
},
"suspicious": {
"noCatchAssign": "error",
"noEmptyBlockStatements": "warn",
"noPrototypeBuiltins": "error",
"noVar": "error",
"useIterableCallbackReturn": "off"
}
},
"includes": ["src/**", "tests/**"]
},
"javascript": {
"globals": ["Atomics", "SharedArrayBuffer", "jest", "afterEach", "beforeAll", "beforeEach", "expect", "test", "describe"]
},
"overrides": [{ "includes": ["**/*.spec.ts", "**/*.spec.tsx"] }]
}