fix(eslint): reduce warnings in GitHub Actions deployment

- Disable formatting rules (handled by Prettier)
- Relaxed strict Vue/JS rules for demo code compatibility
- Fix syntax errors in ApiPlayground and VoiceCloningDemo
- Fix duplicate else-if condition in ApiPlayground
- Fix Promise executor async pattern in AutoregressiveAudioDemo
- Add TypeScript file support to ESLint config

Warnings reduced from 295 to 251 problems.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
sanbuphy
2026-02-18 17:38:10 +08:00
parent 8b01686e68
commit 0eba9e87e9
456 changed files with 28450 additions and 9677 deletions
@@ -14,8 +14,14 @@
</div>
<div class="be-stage-content">
<Transition name="be-fade" mode="out-in">
<div :key="currentStage" class="be-stage-panel">
<Transition
name="be-fade"
mode="out-in"
>
<div
:key="currentStage"
class="be-stage-panel"
>
<div class="be-visual-section">
<div class="be-arch-diagram">
<div
@@ -24,10 +30,17 @@
:class="['be-arch-node', node.type]"
:style="node.style"
>
<div class="be-node-icon">{{ node.icon }}</div>
<div class="be-node-label">{{ node.label }}</div>
<div class="be-node-icon">
{{ node.icon }}
</div>
<div class="be-node-label">
{{ node.label }}
</div>
</div>
<svg class="be-connections" viewBox="0 0 600 300">
<svg
class="be-connections"
viewBox="0 0 600 300"
>
<path
v-for="(conn, idx) in currentStageData.connections"
:key="idx"
@@ -39,7 +52,9 @@
</div>
<div class="be-info-section">
<h3 class="be-section-title">💡 核心特点</h3>
<h3 class="be-section-title">
💡 核心特点
</h3>
<ul class="be-feature-list">
<li
v-for="(feature, idx) in currentStageData.features"