重构: 升级ESLint配置并优化项目结构 │

│                                                                                                                    │
│   - 迁移至ESLint新版配置格式(eslint.config.mjs)                                                                    │
│   - 添加Next.js ESLint配置支持                                                                                     │
│   - 新增样式类型定义文件                                                                                           │
│   - 优化TypeScript和Vite配置                                                                                       │
│   - 更新Tailwind CSS配置                                                                                           │
│                                                                                                                    │
│   🤖 Generated with [Claude Code](https://claude.com/claude-code)                                                  │
│                                                                                                                    │
│   Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
贺海国
2025-10-22 19:02:47 +08:00
parent 9866a86f32
commit 8da01a207d
9 changed files with 2874 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
import {Navbar1} from "@/components/layouts/NavBar"
import {Navbar1} from "@/components/layouts/Navbar"
import {SideBarOld} from '@/components/layouts/SideBar/SideBarOld'
import '@/styles/globals.css'

9
crop-x/src/types/style.d.ts vendored Normal file
View File

@@ -0,0 +1,9 @@
declare module '*.css' {
const content: { [className: string]: string };
export default content;
}
declare module '@/styles/*.css' {
const content: { [className: string]: string };
export default content;
}