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
@@ -8,12 +8,24 @@
<div class="workflow">
<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="reset">重置</button>
<button class="btn primary" @click="nextRound">
<button
class="btn"
@click="reset"
>
重置
</button>
<button
class="btn primary"
@click="nextRound"
>
下一轮 ({{ round }}/3)
</button>
</div>
@@ -33,19 +45,27 @@
<div class="panels">
<div class="panel">
<div class="panel-title">任务</div>
<div class="panel-title">
任务
</div>
<div class="panel-body">
帮我找 3 Agent 入门文章并输出标题 + 一句话总结
</div>
</div>
<div class="panel">
<div class="panel-title">这一轮发生了什么</div>
<div class="panel-body">{{ detail }}</div>
<div class="panel-title">
这一轮发生了什么
</div>
<div class="panel-body">
{{ detail }}
</div>
</div>
</div>
<div class="log">
<div class="log-title">Agent 运行日志示意</div>
<div class="log-title">
Agent 运行日志示意
</div>
<pre><code>{{ logText }}</code></pre>
</div>
</div>