mirror of
https://github.com/Koenkk/zigbee-OTA.git
synced 2026-06-24 14:28:03 +00:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com>
77 lines
2.5 KiB
JSON
77 lines
2.5 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.6/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"
|
|
}
|
|
}
|
|
}
|
|
}
|