refactor: fix all lint errors and improve code quality
- Fix TypeScript 'any' types throughout codebase
- Add proper type definitions for wishlist items and components
- Fix missing keys in {#each} blocks
- Remove unused imports and variables
- Remove unused function parameters
- Update imports to use new schema location (/db/schema)
- Disable overly strict Svelte navigation lint rules
- Ignore .svelte.ts files from ESLint (handled by Svelte compiler)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<script lang="ts">
|
||||
import { Button } from '$lib/components/ui/button';
|
||||
import { scale } from 'svelte/transition';
|
||||
import { cubicOut } from 'svelte/easing';
|
||||
import type { Snippet } from 'svelte';
|
||||
@@ -98,7 +97,7 @@
|
||||
transition:scale={{ duration: 150, start: 0.95, opacity: 0, easing: cubicOut }}
|
||||
>
|
||||
<div class="py-1">
|
||||
{#each items as item}
|
||||
{#each items as item (item.value)}
|
||||
<button
|
||||
type="button"
|
||||
class="w-full text-left px-4 py-2 text-sm transition-colors"
|
||||
|
||||
Reference in New Issue
Block a user