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
@@ -23,30 +23,49 @@
@input="testMatch"
>
</div>
<div class="hint-text">试试user/123 products/electronics/456</div>
<div class="hint-text">
试试user/123 products/electronics/456
</div>
</div>
<div class="result-section">
<h5>🎯 匹配结果</h5>
<div v-if="matchResult && matchResult.matched" class="match-success">
<div class="success-icon"></div>
<div
v-if="matchResult && matchResult.matched"
class="match-success"
>
<div class="success-icon">
</div>
<div class="result-details">
<div class="result-row">
<span class="label">匹配路由:</span>
<code class="value">{{ matchResult.route.path }}</code>
</div>
<div v-if="Object.keys(matchResult.params).length" class="params-box">
<div
v-if="Object.keys(matchResult.params).length"
class="params-box"
>
<span class="label">提取参数:</span>
<div class="params-list">
<span v-for="(value, key) in matchResult.params" :key="key" class="param-tag">
<span
v-for="(value, key) in matchResult.params"
:key="key"
class="param-tag"
>
{{ key }} = {{ value }}
</span>
</div>
</div>
</div>
</div>
<div v-else class="match-fail">
<div class="fail-icon"></div>
<div
v-else
class="match-fail"
>
<div class="fail-icon">
</div>
<div>未找到匹配的路由</div>
</div>
</div>