From 967f8caecdbb4de6d07bdef68849b2e775bb6831 Mon Sep 17 00:00:00 2001 From: yyh Date: Mon, 2 Mar 2026 19:33:47 +0800 Subject: [PATCH] fix: lint --- web/eslint-suppressions.json | 230 +++++++++++++++++------------------ web/eslint.config.mjs | 4 - 2 files changed, 115 insertions(+), 119 deletions(-) diff --git a/web/eslint-suppressions.json b/web/eslint-suppressions.json index 1c94fedf07..89335fb765 100644 --- a/web/eslint-suppressions.json +++ b/web/eslint-suppressions.json @@ -104,7 +104,7 @@ }, "app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/config-button.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/config-popup.tsx": { @@ -119,7 +119,7 @@ }, "app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/provider-config-modal.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -306,7 +306,7 @@ }, "app/components/app-sidebar/app-sidebar-dropdown.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -337,7 +337,7 @@ }, "app/components/app-sidebar/dataset-sidebar-dropdown.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -524,7 +524,7 @@ }, "app/components/app/app-publisher/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "ts/no-explicit-any": { "count": 5 @@ -532,7 +532,7 @@ }, "app/components/app/app-publisher/publish-with-multiple-model.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/app/app-publisher/suggested-action.tsx": { @@ -598,7 +598,7 @@ }, "app/components/app/configuration/config-var/config-modal/type-select.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/app/configuration/config-var/config-select/index.tsx": { @@ -624,7 +624,7 @@ }, "app/components/app/configuration/config-var/select-var-type.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "ts/no-explicit-any": { "count": 1 @@ -658,7 +658,7 @@ }, "app/components/app/configuration/config-vision/param-config.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/app/configuration/config/agent-setting-button.spec.tsx": { @@ -716,7 +716,7 @@ }, "app/components/app/configuration/config/assistant-type-picker/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/no-unnecessary-whitespace": { "count": 3 @@ -764,7 +764,7 @@ }, "app/components/app/configuration/config/automatic/version-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -829,7 +829,7 @@ }, "app/components/app/configuration/dataset-config/context-var/var-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/no-unnecessary-whitespace": { "count": 4 @@ -1093,7 +1093,7 @@ }, "app/components/app/log/model-info.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -1216,7 +1216,7 @@ }, "app/components/app/type-selector/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -2800,7 +2800,7 @@ }, "app/components/datasets/common/document-picker/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -2808,7 +2808,7 @@ }, "app/components/datasets/common/document-picker/preview-document-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -3127,7 +3127,7 @@ }, "app/components/datasets/documents/create-from-pipeline/data-source/base/credential-selector/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/datasets/documents/create-from-pipeline/data-source/base/credential-selector/item.tsx": { @@ -3177,7 +3177,7 @@ }, "app/components/datasets/documents/create-from-pipeline/data-source/online-drive/file-list/header/breadcrumbs/dropdown/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -3509,7 +3509,7 @@ }, "app/components/datasets/external-api/external-api-modal/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 @@ -3571,7 +3571,7 @@ }, "app/components/datasets/extra-info/api-access/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -3584,7 +3584,7 @@ }, "app/components/datasets/extra-info/service-api/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -3795,7 +3795,7 @@ }, "app/components/datasets/settings/index-method/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/datasets/settings/index-method/keyword-number.tsx": { @@ -3810,7 +3810,7 @@ }, "app/components/datasets/settings/permission-selector/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "react/no-missing-key": { "count": 1 @@ -3886,7 +3886,7 @@ }, "app/components/explore/item-operation/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 @@ -3991,7 +3991,7 @@ }, "app/components/header/account-setting/api-based-extension-page/selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/header/account-setting/data-source-page-new/card.tsx": { @@ -4004,7 +4004,7 @@ }, "app/components/header/account-setting/data-source-page-new/configure.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -4048,7 +4048,7 @@ }, "app/components/header/account-setting/data-source-page/data-source-website/config-firecrawl-modal.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -4056,7 +4056,7 @@ }, "app/components/header/account-setting/data-source-page/data-source-website/config-jina-reader-modal.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -4064,7 +4064,7 @@ }, "app/components/header/account-setting/data-source-page/data-source-website/config-watercrawl-modal.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -4105,12 +4105,12 @@ }, "app/components/header/account-setting/members-page/invite-modal/role-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/header/account-setting/members-page/operation/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 5 @@ -4128,7 +4128,7 @@ }, "app/components/header/account-setting/members-page/transfer-ownership-modal/member-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "ts/no-explicit-any": { "count": 2 @@ -4167,7 +4167,7 @@ }, "app/components/header/account-setting/model-provider-page/model-auth/add-custom-model.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -4185,7 +4185,7 @@ }, "app/components/header/account-setting/model-provider-page/model-auth/authorized/index.tsx": { "no-restricted-imports": { - "count": 4 + "count": 2 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -4201,7 +4201,7 @@ }, "app/components/header/account-setting/model-provider-page/model-auth/credential-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 4 @@ -4242,7 +4242,7 @@ }, "app/components/header/account-setting/model-provider-page/model-modal/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 6 @@ -4271,7 +4271,7 @@ }, "app/components/header/account-setting/model-provider-page/model-parameter-modal/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -4310,7 +4310,7 @@ }, "app/components/header/account-setting/model-provider-page/model-selector/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/header/account-setting/model-provider-page/model-selector/popup-item.tsx": { @@ -4379,7 +4379,7 @@ }, "app/components/header/account-setting/model-provider-page/system-model-selector/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/header/account-setting/plugin-page/utils.ts": { @@ -4590,7 +4590,7 @@ }, "app/components/plugins/marketplace/search-box/tags-filter.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -4608,7 +4608,7 @@ }, "app/components/plugins/marketplace/sort-dropdown/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -4644,7 +4644,7 @@ }, "app/components/plugins/plugin-auth/authorized/index.tsx": { "no-restricted-imports": { - "count": 4 + "count": 2 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -4714,7 +4714,7 @@ }, "app/components/plugins/plugin-detail-panel/app-selector/app-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -4727,7 +4727,7 @@ }, "app/components/plugins/plugin-detail-panel/app-selector/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -4780,7 +4780,7 @@ }, "app/components/plugins/plugin-detail-panel/model-selector/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -4812,7 +4812,7 @@ }, "app/components/plugins/plugin-detail-panel/operation-dropdown.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 4 @@ -4874,7 +4874,7 @@ }, "app/components/plugins/plugin-detail-panel/subscription-list/selector-entry.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -4917,7 +4917,7 @@ }, "app/components/plugins/plugin-detail-panel/tool-selector/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -4972,7 +4972,7 @@ }, "app/components/plugins/plugin-page/filter-management/category-filter.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -4980,7 +4980,7 @@ }, "app/components/plugins/plugin-page/filter-management/tag-filter.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -4988,7 +4988,7 @@ }, "app/components/plugins/plugin-page/install-plugin-dropdown.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 2 @@ -5004,7 +5004,7 @@ }, "app/components/plugins/plugin-page/plugin-tasks/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/plugins/provider-card.tsx": { @@ -5039,7 +5039,7 @@ }, "app/components/plugins/reference-setting-modal/auto-update-setting/strategy-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -5055,7 +5055,7 @@ }, "app/components/plugins/reference-setting-modal/auto-update-setting/tool-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/plugins/reference-setting-modal/index.tsx": { @@ -5085,7 +5085,7 @@ }, "app/components/plugins/update-plugin/plugin-version-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -5247,7 +5247,7 @@ }, "app/components/rag-pipeline/components/rag-pipeline-header/publisher/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/rag-pipeline/components/rag-pipeline-header/publisher/popup.tsx": { @@ -5336,7 +5336,7 @@ }, "app/components/share/text-generation/menu-dropdown.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 @@ -5438,7 +5438,7 @@ }, "app/components/tools/labels/filter.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/no-unnecessary-whitespace": { "count": 1 @@ -5446,7 +5446,7 @@ }, "app/components/tools/labels/selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/no-unnecessary-whitespace": { "count": 1 @@ -5475,7 +5475,7 @@ }, "app/components/tools/mcp/detail/operation-dropdown.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -5591,7 +5591,7 @@ }, "app/components/tools/workflow-tool/method-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/no-unnecessary-whitespace": { "count": 1 @@ -5723,12 +5723,12 @@ }, "app/components/workflow/block-selector/main.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/block-selector/market-place-plugin/action.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 @@ -5775,7 +5775,7 @@ }, "app/components/workflow/block-selector/tool-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/block-selector/tool/action-item.tsx": { @@ -5850,7 +5850,7 @@ }, "app/components/workflow/header/checklist.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/header/editing-title.tsx": { @@ -5886,7 +5886,7 @@ }, "app/components/workflow/header/test-run-menu.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "react-refresh/only-export-components": { "count": 1 @@ -5907,12 +5907,12 @@ }, "app/components/workflow/header/view-history.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/header/view-workflow-history.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "ts/no-explicit-any": { "count": 1 @@ -6008,7 +6008,7 @@ }, "app/components/workflow/nodes/_base/components/agent-strategy-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "ts/no-explicit-any": { "count": 4 @@ -6106,7 +6106,7 @@ }, "app/components/workflow/nodes/_base/components/error-handle/error-handle-type-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -6226,7 +6226,7 @@ }, "app/components/workflow/nodes/_base/components/next-step/operator.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -6255,7 +6255,7 @@ }, "app/components/workflow/nodes/_base/components/panel-operator/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/_base/components/prompt/editor.tsx": { @@ -6342,7 +6342,7 @@ }, "app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 2 @@ -6364,7 +6364,7 @@ }, "app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 6 @@ -6375,7 +6375,7 @@ }, "app/components/workflow/nodes/_base/components/variable/var-type-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/_base/components/variable/variable-label/base/variable-label.tsx": { @@ -6514,7 +6514,7 @@ }, "app/components/workflow/nodes/assigner/components/operation-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -6562,7 +6562,7 @@ }, "app/components/workflow/nodes/code/dependency-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/code/use-config.ts": { @@ -6707,7 +6707,7 @@ }, "app/components/workflow/nodes/human-input/components/button-style-dropdown.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -6730,7 +6730,7 @@ }, "app/components/workflow/nodes/human-input/components/delivery-method/method-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 14 @@ -6738,7 +6738,7 @@ }, "app/components/workflow/nodes/human-input/components/delivery-method/recipient/email-input.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -6761,7 +6761,7 @@ }, "app/components/workflow/nodes/human-input/components/delivery-method/recipient/member-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/human-input/components/delivery-method/test-email-sender.tsx": { @@ -6832,7 +6832,7 @@ }, "app/components/workflow/nodes/if-else/components/condition-add.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/if-else/components/condition-files-list-value.tsx": { @@ -6855,17 +6855,17 @@ }, "app/components/workflow/nodes/if-else/components/condition-list/condition-operator.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/if-else/components/condition-list/condition-var-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/if-else/components/condition-number-input.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -6924,7 +6924,7 @@ }, "app/components/workflow/nodes/knowledge-base/components/chunk-structure/selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -6975,7 +6975,7 @@ }, "app/components/workflow/nodes/knowledge-retrieval/components/metadata/add-condition.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -6983,7 +6983,7 @@ }, "app/components/workflow/nodes/knowledge-retrieval/components/metadata/condition-list/condition-common-variable-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 4 @@ -7004,17 +7004,17 @@ }, "app/components/workflow/nodes/knowledge-retrieval/components/metadata/condition-list/condition-operator.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/knowledge-retrieval/components/metadata/condition-list/condition-value-method.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/knowledge-retrieval/components/metadata/condition-list/condition-variable-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -7027,7 +7027,7 @@ }, "app/components/workflow/nodes/knowledge-retrieval/components/metadata/metadata-filter/metadata-filter-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -7040,7 +7040,7 @@ }, "app/components/workflow/nodes/knowledge-retrieval/components/metadata/metadata-trigger.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -7048,7 +7048,7 @@ }, "app/components/workflow/nodes/knowledge-retrieval/components/retrieval-config.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/no-unnecessary-whitespace": { "count": 2 @@ -7138,7 +7138,7 @@ }, "app/components/workflow/nodes/llm/components/json-schema-config-modal/json-importer.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -7157,7 +7157,7 @@ }, "app/components/workflow/nodes/llm/components/json-schema-config-modal/json-schema-generator/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 2 @@ -7203,7 +7203,7 @@ }, "app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/edit-card/type-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -7257,7 +7257,7 @@ }, "app/components/workflow/nodes/loop/components/condition-add.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/loop/components/condition-files-list-value.tsx": { @@ -7280,17 +7280,17 @@ }, "app/components/workflow/nodes/loop/components/condition-list/condition-operator.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/loop/components/condition-list/condition-var-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/loop/components/condition-number-input.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -7598,7 +7598,7 @@ }, "app/components/workflow/nodes/variable-assigner/components/add-variable/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/variable-assigner/components/node-variable-item.tsx": { @@ -7637,7 +7637,7 @@ }, "app/components/workflow/note-node/note-editor/toolbar/color-picker.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "react-refresh/only-export-components": { "count": 1 @@ -7645,12 +7645,12 @@ }, "app/components/workflow/note-node/note-editor/toolbar/font-size-selector.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/note-node/note-editor/toolbar/operator.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/note-node/note-editor/utils.ts": { @@ -7670,7 +7670,7 @@ }, "app/components/workflow/operator/more-actions.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 6 @@ -7683,7 +7683,7 @@ }, "app/components/workflow/operator/zoom-in-out.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -7741,7 +7741,7 @@ }, "app/components/workflow/panel/chat-variable-panel/components/variable-modal-trigger.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/panel/chat-variable-panel/components/variable-modal.tsx": { @@ -7757,7 +7757,7 @@ }, "app/components/workflow/panel/chat-variable-panel/components/variable-type-select.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 6 @@ -7817,7 +7817,7 @@ }, "app/components/workflow/panel/env-panel/variable-trigger.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/panel/global-variable-panel/index.tsx": { @@ -7847,7 +7847,7 @@ }, "app/components/workflow/panel/version-history-panel/context-menu/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 } }, "app/components/workflow/panel/version-history-panel/context-menu/menu-item.tsx": { @@ -7883,7 +7883,7 @@ }, "app/components/workflow/panel/version-history-panel/filter/index.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/no-unnecessary-whitespace": { "count": 1 @@ -7932,7 +7932,7 @@ }, "app/components/workflow/run/agent-log/agent-log-nav-more.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -8299,7 +8299,7 @@ }, "app/components/workflow/workflow-preview/components/zoom-in-out.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 2 @@ -8330,7 +8330,7 @@ }, "app/education-apply/search-input.tsx": { "no-restricted-imports": { - "count": 2 + "count": 1 }, "tailwindcss/enforce-consistent-class-order": { "count": 1 diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs index 4372546f3c..2293cdc595 100644 --- a/web/eslint.config.mjs +++ b/web/eslint.config.mjs @@ -161,10 +161,6 @@ export default antfu( ], rules: { 'no-restricted-imports': ['error', { - paths: [{ - name: '@/app/components/base/portal-to-follow-elem', - message: 'Deprecated: use semantic overlay primitives from @/app/components/base/ui/ instead. See issue #32767.', - }], patterns: [{ group: [ '**/portal-to-follow-elem',