量化交易多智能体系统,包含: - 分析师、投资组合经理、风险经理等智能体 - 股票分析、投资组合管理、风险控制工具 - React 前端界面 - FastAPI 后端服务 Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
769 B
JavaScript
30 lines
769 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 { defineConfig, globalIgnores } from "eslint/config";
|
|
|
|
export default defineConfig([
|
|
globalIgnores(["dist"]),
|
|
{
|
|
files: ["**/*.{js,jsx}"],
|
|
extends: [
|
|
js.configs.recommended,
|
|
reactHooks.configs["recommended-latest"],
|
|
reactRefresh.configs.vite,
|
|
],
|
|
languageOptions: {
|
|
ecmaVersion: 2020,
|
|
globals: globals.browser,
|
|
parserOptions: {
|
|
ecmaVersion: "latest",
|
|
ecmaFeatures: { jsx: true },
|
|
sourceType: "module",
|
|
},
|
|
},
|
|
rules: {
|
|
"no-unused-vars": ["error", { varsIgnorePattern: "^[A-Z_]" }],
|
|
},
|
|
},
|
|
]);
|