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
@@ -52,8 +52,12 @@
class="step-item"
:class="{ active: index === currentStep }"
>
<div class="step-number">{{ index + 1 }}</div>
<div class="step-text">{{ step }}</div>
<div class="step-number">
{{ index + 1 }}
</div>
<div class="step-text">
{{ step }}
</div>
</div>
</div>
</div>
@@ -64,7 +68,10 @@
<div class="ledger-header">
<span class="ledger-icon">📒</span>
<span class="ledger-title">今日账本</span>
<span class="ledger-status" :class="mode">{{ ledgerStatus }}</span>
<span
class="ledger-status"
:class="mode"
>{{ ledgerStatus }}</span>
</div>
<div class="ledger-content">
@@ -105,8 +112,8 @@
<div class="action-buttons">
<button
class="btn btn-primary"
@click="processOrder"
:disabled="isProcessing || allCompleted"
@click="processOrder"
>
{{ isProcessing ? '处理中...' : allCompleted ? '今日完成!' : '下一道菜' }}
</button>