-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbiome.json
More file actions
76 lines (76 loc) · 1.76 KB
/
biome.json
File metadata and controls
76 lines (76 loc) · 1.76 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
{
"$schema": "https://biomejs.dev/schemas/2.1.4/schema.json",
"files": {
"ignoreUnknown": true,
"includes": [
"**/*.js",
"**/*.json"
]
},
"formatter": {
"formatWithErrors": true,
"lineWidth": 88,
"useEditorconfig": true
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"quoteStyle": "single"
}
},
"linter": {
"rules": {
"complexity": {
"noForEach": "on",
"noUselessStringConcat": "on",
"noVoid": "on",
"useWhile": "on"
},
"nursery": {
"noAwaitInLoop": "on",
"noConstantBinaryExpression": "on",
"noUselessBackrefInRegex": "on",
"noUselessEscapeInString": "on",
"noUselessUndefined": "on",
"useObjectSpread": "on",
"useParseIntRadix": "on"
},
"performance": {
"noDelete": "on",
"useTopLevelRegex": "on"
},
"recommended": true,
"style": {
"noCommonJs": "on",
"noInferrableTypes": "on",
"noNamespace": "on",
"noSubstr": "on",
"noUnusedTemplateLiteral": "on",
"useCollapsedElseIf": "on",
"useConsistentArrayType": "on",
"useConsistentBuiltinInstantiation": "on",
"useConst": {
"fix": "unsafe",
"level": "on"
},
"useForOf": "on",
"useNumberNamespace": "on",
"useShorthandAssign": "on",
"useThrowNewError": "on",
"useThrowOnlyError": "on"
},
"suspicious": {
"noConfusingVoidType": "off",
"noEvolvingTypes": "on",
"noExplicitAny": "off",
"useAwait": "on"
}
}
},
"vcs": {
"clientKind": "git",
"defaultBranch": "main",
"enabled": true,
"useIgnoreFile": true
}
}