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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user