chore: 统一代码风格并配置ESLint和Prettier

配置ESLint和Prettier规则
添加前端和后端的忽略文件
统一代码格式和缩进
修复代码风格问题
This commit is contained in:
zhang1106
2026-02-10 11:04:01 +08:00
parent f82d82e57e
commit afc372a432
61 changed files with 14976 additions and 6124 deletions
+7
View File
@@ -0,0 +1,7 @@
module.exports = {
root: true,
// 根配置不直接检查文件,而是作为项目入口
// 实际检查由 frontend/ 和 backend/ 各自的配置处理
ignorePatterns: ['frontend/**', 'backend/**', 'node_modules/**', 'dist/**'],
overrides: []
}