fix: resolve all lint errors across codebase

- Convert CacheTTL enum to const object to fix duplicate value errors
- Fix import ordering in test files (eslint-disable for vi.mock pattern)
- Fix unused variable warnings (prefix with underscore)
- Auto-fix import ordering in subscription page, dashboard layout
- 0 lint errors remaining

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-08 23:13:35 +07:00
parent f3fe61bf83
commit 0c26dd85ef
13 changed files with 23 additions and 19 deletions

View File

@@ -1,6 +1,7 @@
/* eslint-disable import-x/order */
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { useAuthStore } from '../auth-store';
import { ApiError } from '../api-client';
import { useAuthStore } from '../auth-store';
// Mock auth-api module
vi.mock('../auth-api', () => ({