mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-10 03:30:56 +00:00
* refactor(packaging): reorganize published packages * fix(packaging): install AgentScope extra in wheel smoke * docs: align package guides and documentation site * ci(workflow): add core dependency verification step in Python package build - Add a workflow step to verify released core dependencies by installing the wheel with core extras - Assert the presence of the static index.html file to ensure proper package contents - Create and use a temporary virtual environment for isolation during verification - Keep existing artifacts upload step intact and conditional on inputs.upload_artifacts flag * fix(ci): update package installation dependencies in Windows workflow - Change pip install from editable reme_studio and core to only dev and as extras - Remove installation of reme_studio and core to streamline dependency setup - Ensure Windows CI uses the correct extras for testing environment * fix(tests): add missing commas in toml file reads in package version tests - Added trailing commas in the tomllib.loads calls for auto-fin and daily_paper configs - Ensured consistent syntax to prevent potential tuple misinterpretation - Improved readability and correctness of the test setup code * fix(packaging): protect qwenpaw releases and test Studio health
42 lines
1 KiB
JavaScript
42 lines
1 KiB
JavaScript
import { defineConfig, globalIgnores } from "eslint/config";
|
|
import eslint from "@eslint/js";
|
|
import next from "@next/eslint-plugin-next";
|
|
import jsxA11y from "eslint-plugin-jsx-a11y";
|
|
import react from "eslint-plugin-react";
|
|
import reactHooks from "eslint-plugin-react-hooks";
|
|
import globals from "globals";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
const eslintConfig = defineConfig([
|
|
globalIgnores([
|
|
".next/**",
|
|
"dist/**",
|
|
"out/**",
|
|
"build/**",
|
|
"src/reme_studio/static/**",
|
|
"next-env.d.ts",
|
|
]),
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
react.configs.flat.recommended,
|
|
react.configs.flat["jsx-runtime"],
|
|
reactHooks.configs.flat["recommended-latest"],
|
|
jsxA11y.flatConfigs.recommended,
|
|
next.configs["core-web-vitals"],
|
|
{
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.browser,
|
|
...globals.node,
|
|
...globals.serviceworker,
|
|
},
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: "detect",
|
|
},
|
|
},
|
|
},
|
|
]);
|
|
|
|
export default eslintConfig;
|