-
-
Notifications
You must be signed in to change notification settings - Fork 533
/
Copy pathbiome.json
91 lines (91 loc) · 2.15 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
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
{
"$schema": "./packages/@biomejs/biome/configuration_schema.json",
"assist": {
"enabled": true,
"includes": [
"**",
"!./packages/@biomejs/biome/configuration_schema.json"
],
"actions": {
"source": {
"useSortedKeys": "off"
}
}
},
"css": {
"linter": {
"enabled": true
}
},
"files": {
"includes": [
"**/packages/aria-data/*.js",
"**/packages/@biomejs/**",
"**/packages/tailwindcss-config-analyzer/**",
"**/benchmark/**",
"!**/crates/**",
"!**/dist/**",
"!**/.astro/**",
"!**/assets/**",
"!**/packages/@biomejs/backend-jsonrpc/src/workspace.ts",
"!**/public/**",
"!**/__snapshots__",
"!**/undefined/**",
"!**/_fonts/**",
"!**/packages/@biomejs/wasm-*",
"!**/benchmark/target/**"
]
},
"formatter": {
"includes": [
"**",
"!**/configuration_schema.json"
]
},
"json": {
"formatter": {
"indentStyle": "space",
"lineWidth": 1
}
},
"linter": {
"enabled": true,
"rules": {
"style": {
"noNonNullAssertion": "off",
"useNodejsImportProtocol": "error",
"useLiteralEnumMembers": "error",
"noArguments": "error",
"noParameterAssign": "error",
"useShorthandFunctionType": "error",
"useExportType": "error",
"useDefaultParameterLast": "error",
"noCommaOperator": "error",
"useSingleVarDeclarator": "error",
"useConst": "error",
"noInferrableTypes": "error",
"useExponentiationOperator": "error",
"noUselessElse": "error",
"useSelfClosingElements": "error",
"useImportType": "error",
"useNumberNamespace": "error",
"useAsConstAssertion": "error",
"noUnusedTemplateLiteral": "error",
"useNumericLiterals": "error",
"useTemplate": "error",
"useEnumInitializers": "error"
},
"correctness": {
"noUndeclaredDependencies": "error"
},
"suspicious": {
"noVar": "on"
}
}
},
"vcs": {
"clientKind": "git",
"enabled": true,
"useIgnoreFile": true
}
}