fix(lint): enforce consistent-type-imports and fix import ordering across codebase

Auto-fix 862 lint errors: convert value imports used only as types to
`import type`, fix import group ordering in seed.ts and du-an-api.ts,
remove unused imports in auth controller, and clean up stale eslint-disable
comments referencing non-existent rules.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-16 05:13:56 +07:00
parent 86adcf7295
commit c920934fb6
296 changed files with 692 additions and 659 deletions

View File

@@ -86,6 +86,10 @@ export async function generateMetadata({ params: paramsPromise }: PageProps): Pr
description,
images: firstImage ? [firstImage.url] : ['/og-image.png'],
},
other: {
'og:price:amount': listing.priceVND,
'og:price:currency': 'VND',
},
};
}

View File

@@ -1,5 +1,5 @@
import { render, screen } from '@testing-library/react';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { render, screen } from '@testing-library/react';
import { describe, expect, it, vi } from 'vitest';
import { ValuationForm } from '../valuation-form';

View File

@@ -26,6 +26,7 @@
"home": "Home",
"search": "Search",
"pricing": "Pricing",
"projects": "Projects",
"mainNav": "Main navigation",
"dashboardNav": "Dashboard",
"adminNav": "Administration",

View File

@@ -26,6 +26,7 @@
"home": "Trang chủ",
"search": "Tìm kiếm",
"pricing": "Bảng giá",
"projects": "Dự án",
"mainNav": "Điều hướng chính",
"dashboardNav": "Bảng điều khiển",
"adminNav": "Quản trị",

File diff suppressed because one or more lines are too long