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
@@ -6,21 +6,25 @@
<div class="flow">
<div class="header">
<div>
<div class="title">任务回放Agent 怎么一步步做完</div>
<div class="subtitle">点步骤工具调用中间结果</div>
<div class="title">
任务回放Agent 怎么一步步做完
</div>
<div class="subtitle">
点步骤工具调用中间结果
</div>
</div>
<div class="actions">
<button
class="btn"
@click="step = Math.max(0, step - 1)"
:disabled="step === 0"
@click="step = Math.max(0, step - 1)"
>
上一步
</button>
<button
class="btn primary"
@click="step = Math.min(steps.length - 1, step + 1)"
:disabled="step === steps.length - 1"
@click="step = Math.min(steps.length - 1, step + 1)"
>
下一步
</button>
@@ -41,15 +45,23 @@
<div class="grid">
<div class="panel">
<div class="panel-title">当前步骤</div>
<div class="panel-body">{{ steps[step].desc }}</div>
<div class="panel-title">
当前步骤
</div>
<div class="panel-body">
{{ steps[step].desc }}
</div>
</div>
<div class="panel">
<div class="panel-title">工具调用示意</div>
<div class="panel-title">
工具调用示意
</div>
<pre><code>{{ steps[step].tool }}</code></pre>
</div>
<div class="panel">
<div class="panel-title">结果示意</div>
<div class="panel-title">
结果示意
</div>
<pre><code>{{ steps[step].result }}</code></pre>
</div>
</div>