springAiDemo_frontend/eslint.config.ts
kennethcheng 74d8e37abd feat: 初始化 Apache Doris 智能问答系统前端
- 基于 Vue 3 + TypeScript + Vite 构建
- 实现 RAG 智能问答聊天界面,支持流式响应
- 支持 PDF 文档上传(最大 30MB)和解析
- 集成 marked + highlight.js 实现 Markdown 渲染与代码高亮
- 使用 Element Plus 构建 UI 组件
- 支持暗黑/明亮主题切换
- 配置 Docker + Nginx 多阶段构建
2026-04-20 03:23:34 +08:00

21 lines
729 B
TypeScript

import { globalIgnores } from 'eslint/config'
import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'
import pluginVue from 'eslint-plugin-vue'
// To allow more languages other than `ts` in `.vue` files, uncomment the following lines:
// import { configureVueProject } from '@vue/eslint-config-typescript'
// configureVueProject({ scriptLangs: ['ts', 'tsx'] })
// More info at https://github.com/vuejs/eslint-config-typescript/#advanced-setup
export default defineConfigWithVueTs(
{
name: 'app/files-to-lint',
files: ['**/*.{ts,mts,tsx,vue}'],
},
globalIgnores(['**/dist/**', '**/dist-ssr/**', '**/coverage/**']),
pluginVue.configs['flat/essential'],
vueTsConfigs.recommended,
)