diff --git a/web/eslint-suppressions.json b/web/eslint-suppressions.json index fb0da9b649..d5c59f4f2d 100644 --- a/web/eslint-suppressions.json +++ b/web/eslint-suppressions.json @@ -157,6 +157,11 @@ "count": 1 } }, + "app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/type.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsx": { "ts/no-explicit-any": { "count": 1 @@ -250,6 +255,9 @@ } }, "app/account/(commonLayout)/account-page/email-change-modal.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 2 }, @@ -358,6 +366,9 @@ } }, "app/components/app/annotation/add-annotation-modal/edit-item/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 }, @@ -394,6 +405,9 @@ } }, "app/components/app/annotation/batch-add-annotation-modal/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 2 }, @@ -416,6 +430,9 @@ } }, "app/components/app/annotation/edit-annotation-modal/edit-item/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 }, @@ -489,12 +506,20 @@ "count": 1 } }, + "app/components/app/annotation/type.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, "app/components/app/annotation/view-annotation-modal/hit-history-no-data.tsx": { "tailwindcss/enforce-consistent-class-order": { "count": 1 } }, "app/components/app/annotation/view-annotation-modal/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 }, @@ -824,6 +849,11 @@ "count": 1 } }, + "app/components/app/configuration/config/automatic/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/app/configuration/config/automatic/version-selector.tsx": { "no-restricted-imports": { "count": 1 @@ -1101,6 +1131,9 @@ } }, "app/components/app/create-app-dialog/app-list/sidebar.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 }, @@ -1128,6 +1161,9 @@ } }, "app/components/app/create-from-dsl-modal/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 2 }, @@ -1398,6 +1434,9 @@ } }, "app/components/base/action-button/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 } @@ -1498,6 +1537,11 @@ "count": 1 } }, + "app/components/base/badge/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/base/block-input/index.stories.tsx": { "no-console": { "count": 2 @@ -1871,6 +1915,11 @@ "count": 3 } }, + "app/components/base/date-and-time-picker/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, "app/components/base/date-and-time-picker/year-and-month-picker/header.tsx": { "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -1949,6 +1998,11 @@ "count": 1 } }, + "app/components/base/features/new-feature-panel/annotation-reply/type.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/base/features/new-feature-panel/annotation-reply/use-annotation-config.ts": { "ts/no-explicit-any": { "count": 2 @@ -2035,6 +2089,9 @@ } }, "app/components/base/features/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + }, "ts/no-explicit-any": { "count": 1 } @@ -2101,6 +2158,11 @@ "count": 4 } }, + "app/components/base/file-uploader/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/base/file-uploader/utils.ts": { "ts/no-explicit-any": { "count": 3 @@ -2161,6 +2223,9 @@ } }, "app/components/base/form/form-scenarios/base/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 3 } @@ -2181,6 +2246,9 @@ } }, "app/components/base/form/form-scenarios/input-field/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 2 } @@ -2191,6 +2259,9 @@ } }, "app/components/base/form/form-scenarios/node-panel/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 2 } @@ -2209,6 +2280,9 @@ } }, "app/components/base/form/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + }, "ts/no-explicit-any": { "count": 16 } @@ -2219,6 +2293,9 @@ } }, "app/components/base/ga/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 } @@ -2228,6 +2305,11 @@ "count": 3 } }, + "app/components/base/image-uploader/__tests__/image-preview.spec.tsx": { + "erasable-syntax-only/parameter-properties": { + "count": 1 + } + }, "app/components/base/image-uploader/hooks.ts": { "no-restricted-imports": { "count": 1 @@ -2318,6 +2400,11 @@ "count": 9 } }, + "app/components/base/markdown-blocks/form.tsx": { + "erasable-syntax-only/enums": { + "count": 3 + } + }, "app/components/base/markdown-blocks/link.tsx": { "ts/no-explicit-any": { "count": 1 @@ -2423,6 +2510,9 @@ } }, "app/components/base/node-status/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 } @@ -2491,6 +2581,11 @@ "count": 1 } }, + "app/components/base/prompt-editor/plugins/component-picker-block/menu.tsx": { + "erasable-syntax-only/parameter-properties": { + "count": 1 + } + }, "app/components/base/prompt-editor/plugins/component-picker-block/prompt-option.tsx": { "tailwindcss/no-duplicate-classes": { "count": 2 @@ -2873,6 +2968,9 @@ } }, "app/components/billing/pricing/plan-switcher/plan-range-switcher.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 } @@ -2912,6 +3010,11 @@ "count": 1 } }, + "app/components/billing/pricing/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/billing/priority-label/index.tsx": { "no-restricted-imports": { "count": 1 @@ -2920,6 +3023,11 @@ "count": 1 } }, + "app/components/billing/type.ts": { + "erasable-syntax-only/enums": { + "count": 4 + } + }, "app/components/billing/upgrade-btn/index.tsx": { "ts/no-explicit-any": { "count": 3 @@ -3032,6 +3140,9 @@ } }, "app/components/datasets/create-from-pipeline/create-options/create-from-dsl-modal/hooks/use-dsl-import.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 } @@ -3105,6 +3216,11 @@ "count": 4 } }, + "app/components/datasets/create-from-pipeline/list/template-card/details/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/datasets/create-from-pipeline/list/template-card/edit-pipeline-info.tsx": { "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -3192,6 +3308,9 @@ } }, "app/components/datasets/create/step-two/hooks/use-indexing-config.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 3 } @@ -3213,6 +3332,9 @@ } }, "app/components/datasets/create/step-two/preview-item/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 } @@ -3258,6 +3380,9 @@ } }, "app/components/datasets/create/website/firecrawl/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-console": { "count": 1 }, @@ -3282,6 +3407,9 @@ } }, "app/components/datasets/create/website/jina-reader/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-console": { "count": 1 }, @@ -3314,6 +3442,9 @@ } }, "app/components/datasets/create/website/watercrawl/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-console": { "count": 1 }, @@ -3370,6 +3501,11 @@ "count": 1 } }, + "app/components/datasets/documents/create-from-pipeline/data-source/base/credential-selector/__tests__/index.spec.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/datasets/documents/create-from-pipeline/data-source/base/credential-selector/index.tsx": { "no-restricted-imports": { "count": 1 @@ -3584,6 +3720,11 @@ "count": 3 } }, + "app/components/datasets/documents/create-from-pipeline/types.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/datasets/documents/detail/batch-modal/csv-uploader.tsx": { "no-restricted-imports": { "count": 1 @@ -3778,6 +3919,9 @@ } }, "app/components/datasets/documents/detail/segment-add/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 }, @@ -4099,6 +4243,9 @@ } }, "app/components/datasets/metadata/metadata-dataset/select-metadata-modal.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 } @@ -4132,6 +4279,11 @@ "count": 1 } }, + "app/components/datasets/metadata/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, "app/components/datasets/preview/header.tsx": { "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -4142,6 +4294,11 @@ "count": 2 } }, + "app/components/datasets/settings/chunk-structure/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/datasets/settings/form/components/basic-info-section.tsx": { "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -4316,6 +4473,9 @@ } }, "app/components/explore/try-app/tab.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 } @@ -4367,6 +4527,9 @@ } }, "app/components/header/account-dropdown/compliance.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 } @@ -4507,7 +4670,15 @@ "count": 3 } }, + "app/components/header/account-setting/data-source-page/panel/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/header/account-setting/key-validator/declarations.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 1 } @@ -4556,6 +4727,9 @@ } }, "app/components/header/account-setting/members-page/transfer-ownership-modal/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 2 }, @@ -4572,6 +4746,9 @@ } }, "app/components/header/account-setting/model-provider-page/declarations.ts": { + "erasable-syntax-only/enums": { + "count": 11 + }, "ts/no-explicit-any": { "count": 4 } @@ -4862,6 +5039,9 @@ } }, "app/components/plugins/install-plugin/install-bundle/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 }, @@ -5079,6 +5259,9 @@ } }, "app/components/plugins/plugin-auth/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + }, "ts/no-explicit-any": { "count": 1 } @@ -5250,11 +5433,17 @@ } }, "app/components/plugins/plugin-detail-panel/subscription-list/create/hooks/use-common-modal-state.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 } }, "app/components/plugins/plugin-detail-panel/subscription-list/create/hooks/use-oauth-client-state.ts": { + "erasable-syntax-only/enums": { + "count": 2 + }, "no-restricted-imports": { "count": 1 } @@ -5272,7 +5461,15 @@ "count": 3 } }, + "app/components/plugins/plugin-detail-panel/subscription-list/create/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/plugins/plugin-detail-panel/subscription-list/edit/apikey-edit-modal.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 2 }, @@ -5304,6 +5501,9 @@ } }, "app/components/plugins/plugin-detail-panel/subscription-list/log-viewer.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 }, @@ -5338,6 +5538,11 @@ "count": 3 } }, + "app/components/plugins/plugin-detail-panel/subscription-list/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/plugins/plugin-detail-panel/tool-selector/components/reasoning-config-form.tsx": { "no-restricted-imports": { "count": 2 @@ -5499,6 +5704,11 @@ "count": 2 } }, + "app/components/plugins/readme-panel/store.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/plugins/reference-setting-modal/auto-update-setting/index.tsx": { "tailwindcss/enforce-consistent-class-order": { "count": 4 @@ -5545,6 +5755,11 @@ "count": 1 } }, + "app/components/plugins/reference-setting-modal/auto-update-setting/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, "app/components/plugins/reference-setting-modal/index.tsx": { "no-restricted-imports": { "count": 1 @@ -5559,11 +5774,17 @@ } }, "app/components/plugins/types.ts": { + "erasable-syntax-only/enums": { + "count": 7 + }, "ts/no-explicit-any": { "count": 30 } }, "app/components/plugins/update-plugin/from-market-place.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 } @@ -5578,6 +5799,11 @@ "count": 1 } }, + "app/components/rag-pipeline/components/chunk-card-list/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/rag-pipeline/components/conversion.tsx": { "no-restricted-imports": { "count": 2 @@ -5726,6 +5952,11 @@ "count": 1 } }, + "app/components/rag-pipeline/components/panel/test-run/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/rag-pipeline/components/publish-as-knowledge-pipeline-modal.tsx": { "no-restricted-imports": { "count": 1 @@ -5909,6 +6140,11 @@ "count": 3 } }, + "app/components/share/text-generation/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/share/utils.ts": { "ts/no-explicit-any": { "count": 2 @@ -6128,6 +6364,9 @@ } }, "app/components/tools/types.ts": { + "erasable-syntax-only/enums": { + "count": 5 + }, "ts/no-explicit-any": { "count": 4 } @@ -6304,6 +6543,9 @@ } }, "app/components/workflow/block-selector/market-place-plugin/item.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "tailwindcss/enforce-consistent-class-order": { "count": 4 }, @@ -6387,12 +6629,25 @@ "count": 1 } }, + "app/components/workflow/block-selector/types.ts": { + "erasable-syntax-only/enums": { + "count": 4 + } + }, "app/components/workflow/block-selector/use-check-vertical-scrollbar.ts": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 } }, + "app/components/workflow/block-selector/use-sticky-scroll.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/workflow/block-selector/view-type-select.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 }, @@ -6453,6 +6708,9 @@ } }, "app/components/workflow/header/test-run-menu.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 }, @@ -6662,6 +6920,9 @@ } }, "app/components/workflow/nodes/_base/components/entry-node-container.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 } @@ -6706,6 +6967,9 @@ } }, "app/components/workflow/nodes/_base/components/error-handle/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 1 } @@ -7058,6 +7322,9 @@ } }, "app/components/workflow/nodes/_base/components/workflow-panel/tab.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "react-refresh/only-export-components": { "count": 1 }, @@ -7100,6 +7367,9 @@ } }, "app/components/workflow/nodes/_base/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 3 } @@ -7136,6 +7406,9 @@ } }, "app/components/workflow/nodes/agent/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 1 } @@ -7184,6 +7457,9 @@ } }, "app/components/workflow/nodes/assigner/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + }, "ts/no-explicit-any": { "count": 1 } @@ -7208,6 +7484,11 @@ "count": 1 } }, + "app/components/workflow/nodes/code/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/workflow/nodes/code/use-config.ts": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 2 @@ -7260,6 +7541,9 @@ } }, "app/components/workflow/nodes/data-source/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 1 } @@ -7345,6 +7629,11 @@ "count": 2 } }, + "app/components/workflow/nodes/http/types.ts": { + "erasable-syntax-only/enums": { + "count": 5 + } + }, "app/components/workflow/nodes/http/use-config.ts": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 1 @@ -7501,6 +7790,11 @@ "count": 1 } }, + "app/components/workflow/nodes/human-input/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, "app/components/workflow/nodes/if-else/components/condition-add.tsx": { "no-restricted-imports": { "count": 1 @@ -7561,6 +7855,11 @@ "count": 1 } }, + "app/components/workflow/nodes/if-else/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, "app/components/workflow/nodes/if-else/use-single-run-form-params.ts": { "ts/no-explicit-any": { "count": 5 @@ -7661,11 +7960,21 @@ "count": 2 } }, + "app/components/workflow/nodes/knowledge-base/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/workflow/nodes/knowledge-base/use-single-run-form-params.ts": { "ts/no-explicit-any": { "count": 3 } }, + "app/components/workflow/nodes/knowledge-base/utils.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/workflow/nodes/knowledge-retrieval/components/dataset-item.tsx": { "tailwindcss/enforce-consistent-class-order": { "count": 1 @@ -7772,6 +8081,9 @@ } }, "app/components/workflow/nodes/knowledge-retrieval/types.ts": { + "erasable-syntax-only/enums": { + "count": 4 + }, "ts/no-explicit-any": { "count": 1 } @@ -7823,6 +8135,11 @@ "count": 1 } }, + "app/components/workflow/nodes/list-operator/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/workflow/nodes/llm/components/config-prompt-item.tsx": { "no-restricted-imports": { "count": 1 @@ -7869,6 +8186,9 @@ } }, "app/components/workflow/nodes/llm/components/json-schema-config-modal/json-schema-config.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 } @@ -7882,6 +8202,9 @@ } }, "app/components/workflow/nodes/llm/components/json-schema-config-modal/json-schema-generator/index.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 2 }, @@ -7969,6 +8292,11 @@ "count": 2 } }, + "app/components/workflow/nodes/llm/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, "app/components/workflow/nodes/llm/use-config.ts": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 2 @@ -7983,6 +8311,9 @@ } }, "app/components/workflow/nodes/llm/utils.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 10 } @@ -8086,6 +8417,9 @@ } }, "app/components/workflow/nodes/loop/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + }, "ts/no-explicit-any": { "count": 1 } @@ -8118,6 +8452,11 @@ "count": 1 } }, + "app/components/workflow/nodes/parameter-extractor/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, "app/components/workflow/nodes/parameter-extractor/use-config.ts": { "react-hooks-extra/no-direct-set-state-in-use-effect": { "count": 2 @@ -8468,6 +8807,11 @@ "count": 1 } }, + "app/components/workflow/note-node/types.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/workflow/operator/add-block.tsx": { "ts/no-explicit-any": { "count": 1 @@ -8495,6 +8839,9 @@ } }, "app/components/workflow/operator/zoom-in-out.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 }, @@ -8581,6 +8928,11 @@ "count": 11 } }, + "app/components/workflow/panel/chat-variable-panel/type.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "app/components/workflow/panel/debug-and-preview/chat-wrapper.tsx": { "ts/no-explicit-any": { "count": 6 @@ -8909,6 +9261,9 @@ } }, "app/components/workflow/selection-contextmenu.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "tailwindcss/enforce-consistent-class-order": { "count": 2 }, @@ -8942,6 +9297,9 @@ } }, "app/components/workflow/types.ts": { + "erasable-syntax-only/enums": { + "count": 16 + }, "ts/no-empty-object-type": { "count": 3 }, @@ -9070,6 +9428,11 @@ "count": 1 } }, + "app/components/workflow/variable-inspect/types.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, "app/components/workflow/variable-inspect/utils.tsx": { "ts/no-explicit-any": { "count": 2 @@ -9126,6 +9489,9 @@ } }, "app/components/workflow/workflow-preview/components/zoom-in-out.tsx": { + "erasable-syntax-only/enums": { + "count": 1 + }, "no-restricted-imports": { "count": 1 }, @@ -9346,6 +9712,11 @@ "count": 6 } }, + "hooks/use-breakpoints.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "hooks/use-format-time-from-now.spec.ts": { "regexp/no-dupe-disjunctions": { "count": 5 @@ -9440,27 +9811,52 @@ "count": 1 } }, + "models/access-control.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, + "models/app.ts": { + "erasable-syntax-only/enums": { + "count": 2 + } + }, "models/common.ts": { + "erasable-syntax-only/enums": { + "count": 3 + }, "ts/no-explicit-any": { "count": 3 } }, "models/datasets.ts": { + "erasable-syntax-only/enums": { + "count": 8 + }, "ts/no-explicit-any": { "count": 5 } }, "models/debug.ts": { + "erasable-syntax-only/enums": { + "count": 2 + }, "ts/no-explicit-any": { "count": 4 } }, "models/log.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 7 } }, "models/pipeline.ts": { + "erasable-syntax-only/enums": { + "count": 3 + }, "ts/no-explicit-any": { "count": 6 } @@ -9535,6 +9931,9 @@ } }, "service/share.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 3 } @@ -9605,6 +10004,9 @@ } }, "types/app.ts": { + "erasable-syntax-only/enums": { + "count": 11 + }, "ts/no-explicit-any": { "count": 1 } @@ -9614,11 +10016,26 @@ "count": 5 } }, + "types/common.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, + "types/feature.ts": { + "erasable-syntax-only/enums": { + "count": 3 + } + }, "types/lamejs.d.ts": { "ts/no-explicit-any": { "count": 3 } }, + "types/model-provider.ts": { + "erasable-syntax-only/enums": { + "count": 1 + } + }, "types/pipeline.tsx": { "ts/no-explicit-any": { "count": 3 @@ -9630,6 +10047,9 @@ } }, "types/workflow.ts": { + "erasable-syntax-only/enums": { + "count": 1 + }, "ts/no-explicit-any": { "count": 17 } diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs index 55008d9ec4..916c1fd287 100644 --- a/web/eslint.config.mjs +++ b/web/eslint.config.mjs @@ -46,6 +46,7 @@ export default antfu( 'ts/consistent-type-definitions': ['error', 'type'], 'ts/no-explicit-any': 'error', }, + erasableOnly: true, }, test: { overrides: {