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
+12 -3
View File
@@ -20,13 +20,22 @@ defineProps({
</script>
<template>
<a :href="href" class="nav-card-link">
<a
:href="href"
class="nav-card-link"
>
<div class="nav-card">
<div class="card-header">
<span v-if="icon" class="card-icon">{{ icon }}</span>
<span
v-if="icon"
class="card-icon"
>{{ icon }}</span>
<span class="card-title">{{ title }}</span>
</div>
<div v-if="description" class="card-desc">{{ description }}</div>
<div
v-if="description"
class="card-desc"
>{{ description }}</div>
</div>
</a>
</template>