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
@@ -14,11 +14,15 @@
<template>
<div class="grid-demo">
<div class="terminal-screen">
<div class="grid-row" v-for="(row, rIndex) in rows" :key="rIndex">
<div
v-for="(row, rIndex) in rows"
:key="rIndex"
class="grid-row"
>
<div
class="grid-cell"
v-for="(cell, cIndex) in row"
:key="cIndex"
class="grid-cell"
:class="{
'active-cursor': cursor.r === rIndex && cursor.c === cIndex,
drawn: cell.drawn
@@ -34,13 +38,18 @@
<div class="controls">
<input
ref="inputRef"
type="text"
v-model="inputText"
type="text"
placeholder="Type here..."
class="text-input"
@keydown="handleKeydown"
/>
<button class="btn" @click="clearGrid">Clear</button>
>
<button
class="btn"
@click="clearGrid"
>
Clear
</button>
<span class="hint">Click/Drag cells to draw, Type to insert text</span>
</div>
</div>