Files
zigbee-OTA/biome.json
2025-12-30 13:42:38 +01:00

77 lines
2.5 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"formatter": {
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 150,
"bracketSpacing": false
},
"files": {
"includes": [
"**",
"!package.json",
"!index-stackinfo.json",
"!index.json",
"!index1.json",
"!.cache",
"!cacerts",
"!images",
"!images1",
"!not-in-manifest-images",
"!not-in-manifest-images1"
]
},
"linter": {
"rules": {
"suspicious": {
"useAwait": "error",
"noExportsInTest": "off"
},
"style": {
"noNonNullAssertion": "off",
"noParameterAssign": "off",
"useNamingConvention": {
"level": "error",
"options": {
"strictCase": false,
"conventions": [
{
"selector": {
"kind": "objectLiteralProperty"
},
"formats": ["snake_case", "camelCase", "CONSTANT_CASE", "PascalCase"]
},
{
"selector": {
"kind": "typeProperty"
},
"formats": ["snake_case", "camelCase", "CONSTANT_CASE", "PascalCase"]
},
{
"selector": {
"kind": "const"
},
"formats": ["camelCase", "CONSTANT_CASE"]
}
]
}
},
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error"
}
}
}
}