Files
monster cbbe506e01 refactor: 扁平化 frontend 目录结构,将 monkeycode-ai 内容移至 frontend 根目录
- frontend/ 现为前端项目根目录,直接包含 package.json、src/、public/ 等
- 移除多余的 monkeycode-ai 嵌套层级
- 更新 .gitlab-ci.yml 路径

Made-with: Cursor
2026-03-09 15:51:31 +08:00

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,
},
},
])