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
@@ -89,8 +89,17 @@
</div>
<div class="preview-area">
<div class="canvas" :style="boxStyle">
<div v-for="n in 6" :key="n" class="item">{{ n }}</div>
<div
class="canvas"
:style="boxStyle"
>
<div
v-for="n in 6"
:key="n"
class="item"
>
{{ n }}
</div>
</div>
<div class="axis-hint">
<span class="axis-tag main">主轴方向: {{ dir === 'row' ? '水平 →' : '垂直 ↓' }}</span>
@@ -100,7 +109,9 @@
</div>
<div class="code-row">
<div class="code-label">CSS</div>
<div class="code-label">
CSS
</div>
<code class="code-text">{{ cssCode }}</code>
</div>