- Demuxer.ts: deterministic token-bucket video pacing (replace unreliable ffmpeg -re which did not throttle the live multi-stage pipe — demuxer emitted ~240fps vs 30fps sender, 100k+ frame backlog, frozen video). Surplus non-key frames dropped; keyframes forced through; audio on fd3 unaffected. - biome.json: pin noExplicitAny/noUnused* to off/warn. Biome 2.5.x (drifted via --no-frozen-lockfile) promotes these to errors and was failing the CI gate on pre-existing backend code unrelated to this change. Restores the warn-level behavior the config schema 2.2.0 expects.
73 lines
1.5 KiB
JSON
73 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"src/**/*.ts",
|
|
"tests/**/*.ts",
|
|
"services/**/*.ts",
|
|
"services/**/*.tsx",
|
|
"*.json",
|
|
"*.ts",
|
|
"!vendor",
|
|
"!.claude",
|
|
"!services/**/dist",
|
|
"!services/**/.next",
|
|
"!services/**/out"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"style": {
|
|
"noNonNullAssertion": "warn",
|
|
"useNodejsImportProtocol": "warn"
|
|
},
|
|
"suspicious": {
|
|
"noUnknownAtRules": "off",
|
|
"useIterableCallbackReturn": "off",
|
|
"noArrayIndexKey": "warn",
|
|
"noExplicitAny": "off"
|
|
},
|
|
"a11y": {
|
|
"useSemanticElements": "off",
|
|
"useButtonType": "off",
|
|
"noAutofocus": "off"
|
|
},
|
|
"performance": {
|
|
"noImgElement": "warn"
|
|
},
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "warn"
|
|
},
|
|
"correctness": {
|
|
"noInvalidUseBeforeDeclaration": "off",
|
|
"noUnusedFunctionParameters": "warn",
|
|
"noUnusedVariables": "warn",
|
|
"noUnusedImports": "warn",
|
|
"noUnusedPrivateClassMembers": "warn"
|
|
}
|
|
},
|
|
"domains": {
|
|
"next": "recommended",
|
|
"react": "recommended"
|
|
}
|
|
},
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
}
|
|
}
|