-
Notifications
You must be signed in to change notification settings - Fork 0
/
biome.json
54 lines (54 loc) · 1.27 KB
/
biome.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
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"ignore": ["src/**/*.d.ts", "src/**/*.js"],
"include": ["src/**/*.ts", "test/**/*.ts"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off",
"noShadowRestrictedNames": "off",
"noDebugger": "off",
"noThenProperty": "off",
"noMisleadingInstantiator": "off"
},
"style": {
"useImportType": "off",
"noNonNullAssertion": "info",
"useTemplate": "off",
"noUselessElse": "off",
"noParameterAssign": "off",
"useNumberNamespace": "off",
"noInferrableTypes": "off"
},
"complexity": {
"noForEach": "off",
"useLiteralKeys": "off"
},
"performance": {
"noDelete": "info"
}
}
},
"formatter": {
"enabled": true,
"indentWidth": 2,
"indentStyle": "space",
"lineWidth": 80,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"quoteProperties": "asNeeded",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": true,
"semicolons": "always",
"trailingCommas": "all"
}
}
}