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
@@ -13,7 +13,10 @@
<template>
<div class="cell-inspector">
<div class="preview-area">
<div class="large-cell" :style="cellStyle">
<div
class="large-cell"
:style="cellStyle"
>
{{ char }}
</div>
</div>
@@ -43,7 +46,7 @@
:style="{ backgroundColor: color }"
:class="{ active: fgColor === color }"
@click="fgColor = color"
></div>
/>
</div>
</div>
@@ -63,7 +66,7 @@
background-color: #111;
"
@click="bgColor = 'transparent'"
></div>
/>
<div
v-for="color in bgColors"
:key="color"
@@ -71,7 +74,7 @@
:style="{ backgroundColor: color }"
:class="{ active: bgColor === color }"
@click="bgColor = color"
></div>
/>
</div>
</div>
@@ -79,11 +82,17 @@
<label>ATTRIBUTES</label>
<div class="toggles">
<label class="toggle">
<input type="checkbox" v-model="isBold" />
<input
v-model="isBold"
type="checkbox"
>
<span>Bold</span>
</label>
<label class="toggle">
<input type="checkbox" v-model="isUnderline" />
<input
v-model="isUnderline"
type="checkbox"
>
<span>Underline</span>
</label>
</div>