mirror of
https://github.com/jeffusion/gitea-ai-assistant.git
synced 2026-03-27 10:05:50 +00:00
- 添加前端管理界面组件,包括仓库管理、数据表格和仓库表格列 - 添加后端管理API,支持仓库列表、Webhook创建和删除 - 更新Docker配置,支持前端和后端的多阶段构建 - 添加管理员认证功能,包括JWT令牌验证 - 更新配置文件,支持管理员密码和JWT密钥配置 - 更新README文档,添加后台管理功能说明和使用指南 - 优化.gitignore文件,简化Docker构建时的忽略规则 - 更新TypeScript配置,添加路径映射支持
24 lines
621 B
JavaScript
24 lines
621 B
JavaScript
import js from '@eslint/js'
|
|
import globals from 'globals'
|
|
import reactHooks from 'eslint-plugin-react-hooks'
|
|
import reactRefresh from 'eslint-plugin-react-refresh'
|
|
import tseslint from 'typescript-eslint'
|
|
import { defineConfig, globalIgnores } from 'eslint/config'
|
|
|
|
export default defineConfig([
|
|
globalIgnores(['dist']),
|
|
{
|
|
files: ['**/*.{ts,tsx}'],
|
|
extends: [
|
|
js.configs.recommended,
|
|
tseslint.configs.recommended,
|
|
reactHooks.configs['recommended-latest'],
|
|
reactRefresh.configs.vite,
|
|
],
|
|
languageOptions: {
|
|
ecmaVersion: 2020,
|
|
globals: globals.browser,
|
|
},
|
|
},
|
|
])
|