-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbiome.base.json
57 lines (57 loc) · 1.33 KB
/
biome.base.json
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
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded",
"trailingCommas": "none",
"indentWidth": 4
}
},
"organizeImports": {
"enabled": true
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"linter": {
"rules": {
"nursery": {
"noExportedImports": "error",
"useDeprecatedReason": "error",
"useExplicitType": "error",
"noUselessStringRaw": "error",
"useImportRestrictions": "error"
},
"performance": {
"noBarrelFile": "error",
"noReExportAll": "error",
"useTopLevelRegex": "error",
"noDelete": "off"
},
"suspicious": {
"noClassAssign": "error"
},
"style": {
"noParameterAssign": "error",
"noNamespace": "error",
"noNamespaceImport": "error",
"noNegationElse": "error",
"noNonNullAssertion": "error",
"noShoutyConstants": "error",
"useConsistentArrayType": "error",
"noYodaExpression": "error",
"useFilenamingConvention": {
"level": "error",
"options": {
"filenameCases": ["camelCase", "PascalCase"],
"requireAscii": true
}
},
"useThrowOnlyError": "error"
}
},
"ignore": ["deno.json", "dist/"]
}
}