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
@@ -5,8 +5,12 @@
<template>
<div class="responsive-demo">
<div class="header">
<div class="title">响应式布局一套代码多种屏幕</div>
<div class="subtitle">拖动宽度观察列数变化</div>
<div class="title">
响应式布局一套代码多种屏幕
</div>
<div class="subtitle">
拖动宽度观察列数变化
</div>
</div>
<div class="controls">
@@ -19,12 +23,24 @@
min="320"
max="1200"
step="10"
/>
>
</div>
<div class="preview" :style="{ width: viewportWidth + 'px' }">
<div class="grid" :style="gridStyle">
<div v-for="n in 6" :key="n" class="card">Card {{ n }}</div>
<div
class="preview"
:style="{ width: viewportWidth + 'px' }"
>
<div
class="grid"
:style="gridStyle"
>
<div
v-for="n in 6"
:key="n"
class="card"
>
Card {{ n }}
</div>
</div>
</div>