-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathbiome.jsonc
More file actions
42 lines (42 loc) · 977 Bytes
/
biome.jsonc
File metadata and controls
42 lines (42 loc) · 977 Bytes
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
{
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": [
"**",
/**
* `npm version` updates `package.json` in such a way that `biome format` sometimes breaks CI.
* @see https://github.com/seriousme/openapi-schema-validator/pull/195#issuecomment-3193470031
*/
"!**/package.json"
]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": { "useLiteralKeys": "off" },
"style": {
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error",
"useConsistentArrayType": {
"level": "error",
"options": {
"syntax": "generic"
}
}
}
}
}
}