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,7 +8,9 @@
<div class="editor-layout">
<div class="editor-panel">
<div class="panel-title">策略编辑器</div>
<div class="panel-title">
策略编辑器
</div>
<div class="action-list">
<div
v-for="action in actions"
@@ -17,8 +19,8 @@
>
<label class="checkbox">
<input
type="checkbox"
v-model="selectedActions"
v-model="selectedActions"
type="checkbox"
:value="action.id"
>
<span>{{ action.name }}</span>
@@ -29,13 +31,17 @@
</div>
<div class="preview-panel">
<div class="panel-title">生成的策略</div>
<div class="panel-title">
生成的策略
</div>
<pre><code>{{ generatedPolicy }}</code></pre>
</div>
</div>
<div class="effect-preview">
<div class="effect-title">权限效果预览</div>
<div class="effect-title">
权限效果预览
</div>
<div class="effect-list">
<div
v-for="effect in effectList"