From 7518606932568187e158b3e790312fc53072bb53 Mon Sep 17 00:00:00 2001 From: yyh Date: Fri, 30 Jan 2026 18:03:01 +0800 Subject: [PATCH] update --- web/eslint-suppressions.json | 318 ----------------------------------- 1 file changed, 318 deletions(-) diff --git a/web/eslint-suppressions.json b/web/eslint-suppressions.json index 7529197d68..2662e979c1 100644 --- a/web/eslint-suppressions.json +++ b/web/eslint-suppressions.json @@ -182,11 +182,6 @@ "count": 1 } }, - "app/components/app/annotation/add-annotation-modal/edit-item/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/app/annotation/batch-add-annotation-modal/csv-downloader.spec.tsx": { "ts/no-explicit-any": { "count": 2 @@ -196,9 +191,6 @@ "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 }, - "react-refresh/only-export-components": { - "count": 1 - }, "ts/no-explicit-any": { "count": 2 } @@ -206,9 +198,6 @@ "app/components/app/annotation/edit-annotation-modal/edit-item/index.tsx": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 - }, - "react-refresh/only-export-components": { - "count": 1 } }, "app/components/app/annotation/edit-annotation-modal/index.spec.tsx": { @@ -265,11 +254,6 @@ "count": 6 } }, - "app/components/app/configuration/base/var-highlight/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/app/configuration/config-prompt/advanced-prompt-input.tsx": { "ts/no-explicit-any": { "count": 2 @@ -440,11 +424,6 @@ "count": 6 } }, - "app/components/app/configuration/debug/debug-with-multiple-model/context.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/app/configuration/debug/debug-with-multiple-model/index.spec.tsx": { "ts/no-explicit-any": { "count": 5 @@ -527,11 +506,6 @@ "count": 1 } }, - "app/components/app/create-app-dialog/app-list/sidebar.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/app/create-app-modal/index.spec.tsx": { "ts/no-explicit-any": { "count": 7 @@ -548,14 +522,6 @@ "app/components/app/create-from-dsl-modal/index.tsx": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 2 - }, - "react-refresh/only-export-components": { - "count": 1 - } - }, - "app/components/app/log/filter.tsx": { - "react-refresh/only-export-components": { - "count": 1 } }, "app/components/app/log/index.tsx": { @@ -624,9 +590,6 @@ "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 3 }, - "react-refresh/only-export-components": { - "count": 1 - }, "ts/no-explicit-any": { "count": 4 } @@ -636,11 +599,6 @@ "count": 2 } }, - "app/components/app/workflow-log/filter.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/app/workflow-log/list.spec.tsx": { "ts/no-explicit-any": { "count": 1 @@ -692,11 +650,6 @@ "count": 1 } }, - "app/components/base/action-button/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/base/agent-log-modal/detail.tsx": { "ts/no-explicit-any": { "count": 1 @@ -725,11 +678,6 @@ "count": 2 } }, - "app/components/base/amplitude/AmplitudeProvider.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/base/amplitude/utils.ts": { "ts/no-explicit-any": { "count": 2 @@ -778,9 +726,6 @@ "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 }, - "react-refresh/only-export-components": { - "count": 1 - }, "react/no-nested-component-definitions": { "count": 1 } @@ -790,21 +735,11 @@ "count": 1 } }, - "app/components/base/button/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/base/button/sync-button.stories.tsx": { "no-console": { "count": 1 } }, - "app/components/base/carousel/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/base/chat/chat-with-history/chat-wrapper.tsx": { "ts/no-explicit-any": { "count": 7 @@ -892,11 +827,6 @@ "count": 1 } }, - "app/components/base/chat/chat/context.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/base/chat/chat/hooks.ts": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 2 @@ -1000,18 +930,10 @@ } }, "app/components/base/error-boundary/index.tsx": { - "react-refresh/only-export-components": { - "count": 3 - }, "ts/no-explicit-any": { "count": 2 } }, - "app/components/base/features/context.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/base/features/new-feature-panel/annotation-reply/index.tsx": { "ts/no-explicit-any": { "count": 3 @@ -1077,11 +999,6 @@ "count": 3 } }, - "app/components/base/file-uploader/store.tsx": { - "react-refresh/only-export-components": { - "count": 4 - } - }, "app/components/base/file-uploader/utils.spec.ts": { "test/no-identical-title": { "count": 1 @@ -1178,11 +1095,6 @@ "count": 2 } }, - "app/components/base/ga/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/base/icons/utils.ts": { "ts/no-explicit-any": { "count": 3 @@ -1234,11 +1146,6 @@ "count": 1 } }, - "app/components/base/logo/dify-logo.tsx": { - "react-refresh/only-export-components": { - "count": 2 - } - }, "app/components/base/markdown-blocks/audio-block.tsx": { "ts/no-explicit-any": { "count": 5 @@ -1389,11 +1296,6 @@ "count": 1 } }, - "app/components/base/node-status/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/base/notion-connector/index.stories.tsx": { "no-console": { "count": 1 @@ -1425,9 +1327,6 @@ } }, "app/components/base/portal-to-follow-elem/index.tsx": { - "react-refresh/only-export-components": { - "count": 2 - }, "ts/no-explicit-any": { "count": 1 } @@ -1609,16 +1508,6 @@ "count": 1 } }, - "app/components/base/textarea/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, - "app/components/base/toast/index.tsx": { - "react-refresh/only-export-components": { - "count": 2 - } - }, "app/components/base/video-gallery/VideoPlayer.tsx": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 @@ -1662,16 +1551,6 @@ "count": 2 } }, - "app/components/billing/pricing/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, - "app/components/billing/pricing/plan-switcher/plan-range-switcher.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/billing/pricing/plans/cloud-plan-item/index.spec.tsx": { "test/prefer-hooks-in-order": { "count": 1 @@ -1722,11 +1601,6 @@ "count": 3 } }, - "app/components/datasets/common/image-uploader/store.tsx": { - "react-refresh/only-export-components": { - "count": 4 - } - }, "app/components/datasets/common/image-uploader/utils.ts": { "ts/no-explicit-any": { "count": 2 @@ -1737,16 +1611,6 @@ "count": 1 } }, - "app/components/datasets/common/retrieval-method-info/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, - "app/components/datasets/create-from-pipeline/create-options/create-from-dsl-modal/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/datasets/create/file-preview/index.tsx": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 @@ -1777,11 +1641,6 @@ "count": 3 } }, - "app/components/datasets/create/step-two/preview-item/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/datasets/create/stop-embedding-modal/index.spec.tsx": { "test/prefer-hooks-in-order": { "count": 1 @@ -1839,9 +1698,6 @@ "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 2 }, - "react-refresh/only-export-components": { - "count": 1 - }, "ts/no-explicit-any": { "count": 2 } @@ -1906,11 +1762,6 @@ "count": 2 } }, - "app/components/datasets/documents/create-from-pipeline/data-source/store/provider.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/datasets/documents/create-from-pipeline/data-source/store/slices/online-drive.ts": { "ts/no-explicit-any": { "count": 4 @@ -1956,11 +1807,6 @@ "count": 1 } }, - "app/components/datasets/documents/detail/completed/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/datasets/documents/detail/completed/new-child-segment.tsx": { "ts/no-explicit-any": { "count": 1 @@ -1984,11 +1830,6 @@ "count": 1 } }, - "app/components/datasets/documents/detail/segment-add/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/datasets/documents/detail/settings/pipeline-settings/index.tsx": { "ts/no-explicit-any": { "count": 6 @@ -2129,11 +1970,6 @@ "count": 1 } }, - "app/components/explore/try-app/tab.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/goto-anything/actions/commands/command-bus.ts": { "ts/no-explicit-any": { "count": 2 @@ -2145,9 +1981,6 @@ } }, "app/components/goto-anything/actions/commands/slash.tsx": { - "react-refresh/only-export-components": { - "count": 3 - }, "ts/no-explicit-any": { "count": 1 } @@ -2165,9 +1998,6 @@ "app/components/goto-anything/context.tsx": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 4 - }, - "react-refresh/only-export-components": { - "count": 1 } }, "app/components/goto-anything/index.spec.tsx": { @@ -2364,11 +2194,6 @@ "count": 4 } }, - "app/components/plugins/install-plugin/install-bundle/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/plugins/install-plugin/install-bundle/item/github-item.tsx": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 @@ -2445,11 +2270,6 @@ "count": 2 } }, - "app/components/plugins/plugin-auth/index.tsx": { - "react-refresh/only-export-components": { - "count": 3 - } - }, "app/components/plugins/plugin-auth/plugin-auth-in-agent.tsx": { "ts/no-explicit-any": { "count": 1 @@ -2534,9 +2354,6 @@ } }, "app/components/plugins/plugin-detail-panel/subscription-list/create/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - }, "ts/no-explicit-any": { "count": 1 } @@ -2577,9 +2394,6 @@ } }, "app/components/plugins/plugin-page/context.tsx": { - "react-refresh/only-export-components": { - "count": 2 - }, "ts/no-explicit-any": { "count": 1 } @@ -2944,11 +2758,6 @@ "count": 1 } }, - "app/components/workflow/block-selector/constants.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/workflow/block-selector/featured-tools.tsx": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 2 @@ -2970,11 +2779,6 @@ "count": 1 } }, - "app/components/workflow/block-selector/index-bar.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/workflow/block-selector/market-place-plugin/action.tsx": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 @@ -3013,26 +2817,11 @@ "count": 1 } }, - "app/components/workflow/block-selector/view-type-select.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/workflow/candidate-node-main.tsx": { "ts/no-explicit-any": { "count": 2 } }, - "app/components/workflow/context.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, - "app/components/workflow/datasets-detail-store/provider.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/workflow/header/run-mode.tsx": { "no-console": { "count": 1 @@ -3041,21 +2830,11 @@ "count": 1 } }, - "app/components/workflow/header/test-run-menu.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/workflow/header/view-workflow-history.tsx": { "ts/no-explicit-any": { "count": 1 } }, - "app/components/workflow/hooks-store/provider.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/workflow/hooks-store/store.ts": { "ts/no-explicit-any": { "count": 6 @@ -3176,18 +2955,10 @@ } }, "app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx": { - "react-refresh/only-export-components": { - "count": 1 - }, "ts/no-explicit-any": { "count": 6 } }, - "app/components/workflow/nodes/_base/components/entry-node-container.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/workflow/nodes/_base/components/error-handle/default-value.tsx": { "ts/no-explicit-any": { "count": 1 @@ -3213,16 +2984,6 @@ "count": 1 } }, - "app/components/workflow/nodes/_base/components/layout/index.tsx": { - "react-refresh/only-export-components": { - "count": 7 - } - }, - "app/components/workflow/nodes/_base/components/mcp-tool-availability.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/workflow/nodes/_base/components/memory-config.tsx": { "unicorn/prefer-number-properties": { "count": 1 @@ -3306,9 +3067,6 @@ } }, "app/components/workflow/nodes/_base/components/workflow-panel/tab.tsx": { - "react-refresh/only-export-components": { - "count": 1 - }, "ts/no-explicit-any": { "count": 1 } @@ -3362,9 +3120,6 @@ } }, "app/components/workflow/nodes/agent/panel.tsx": { - "react-refresh/only-export-components": { - "count": 1 - }, "ts/no-explicit-any": { "count": 1 } @@ -3540,9 +3295,6 @@ } }, "app/components/workflow/nodes/human-input/components/variable-in-markdown.tsx": { - "react-refresh/only-export-components": { - "count": 2 - }, "ts/no-explicit-any": { "count": 8 } @@ -3672,11 +3424,6 @@ "count": 2 } }, - "app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/context.tsx": { - "react-refresh/only-export-components": { - "count": 3 - } - }, "app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/edit-card/auto-width-input.tsx": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 @@ -3974,11 +3721,6 @@ "count": 1 } }, - "app/components/workflow/note-node/note-editor/toolbar/color-picker.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "app/components/workflow/note-node/note-editor/utils.ts": { "regexp/no-useless-quantifier": { "count": 1 @@ -4015,9 +3757,6 @@ } }, "app/components/workflow/panel/chat-variable-panel/components/object-value-item.tsx": { - "react-refresh/only-export-components": { - "count": 1 - }, "ts/no-explicit-any": { "count": 5 }, @@ -4304,11 +4043,6 @@ "count": 8 } }, - "app/components/workflow/workflow-history-store.tsx": { - "react-refresh/only-export-components": { - "count": 2 - } - }, "app/components/workflow/workflow-preview/components/nodes/constants.ts": { "ts/no-explicit-any": { "count": 1 @@ -4370,79 +4104,30 @@ } }, "context/app-context.tsx": { - "react-refresh/only-export-components": { - "count": 2 - }, "ts/no-explicit-any": { "count": 1 } }, - "context/datasets-context.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, - "context/event-emitter.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, - "context/external-api-panel-context.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, - "context/external-knowledge-api-context.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, - "context/global-public-context.tsx": { - "react-refresh/only-export-components": { - "count": 4 - } - }, "context/hooks/use-trigger-events-limit-modal.ts": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 3 } }, - "context/mitt-context.tsx": { - "react-refresh/only-export-components": { - "count": 3 - } - }, "context/modal-context.test.tsx": { "ts/no-explicit-any": { "count": 3 } }, "context/modal-context.tsx": { - "react-refresh/only-export-components": { - "count": 2 - }, "ts/no-explicit-any": { "count": 5 } }, "context/provider-context.tsx": { - "react-refresh/only-export-components": { - "count": 3 - }, "ts/no-explicit-any": { "count": 1 } }, - "context/web-app-context.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, - "context/workspace-context.tsx": { - "react-refresh/only-export-components": { - "count": 1 - } - }, "hooks/use-async-window-open.spec.ts": { "ts/no-explicit-any": { "count": 6 @@ -4479,9 +4164,6 @@ "hooks/use-pay.tsx": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 4 - }, - "react-refresh/only-export-components": { - "count": 3 } }, "i18n-config/README.md": {