diff --git a/apps/studio/.github/eslint-rule-baselines.json b/apps/studio/.github/eslint-rule-baselines.json index 22deac34050..3d057993e29 100644 --- a/apps/studio/.github/eslint-rule-baselines.json +++ b/apps/studio/.github/eslint-rule-baselines.json @@ -3,9 +3,9 @@ "react-hooks/exhaustive-deps": 204, "import/no-anonymous-default-export": 57, "@tanstack/query/exhaustive-deps": 12, - "@typescript-eslint/no-explicit-any": 1204, + "@typescript-eslint/no-explicit-any": 1190, "no-restricted-imports": 59, - "no-restricted-exports": 278, + "no-restricted-exports": 273, "react/no-unstable-nested-components": 66 }, "ruleFiles": { @@ -319,6 +319,7 @@ "components/interfaces/Docs/ResourceContent.tsx": 1, "components/interfaces/Docs/RpcContent.tsx": 4, "components/interfaces/Docs/Snippets.ts": 1, + "components/interfaces/ErrorHandling/error-mappings.tsx": 1, "components/interfaces/Functions/CommandRender.tsx": 4, "components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx": 1, "components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.utils.tsx": 3, @@ -416,7 +417,6 @@ "components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx": 1, "components/interfaces/SQLEditor/hooks.ts": 1, "components/interfaces/SQLEditor/useAddDefinitions.ts": 1, - "components/interfaces/Settings/Addons/Addons.tsx": 1, "components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx": 1, "components/interfaces/Settings/Addons/PITRSidePanel.tsx": 1, "components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx": 2, @@ -476,7 +476,6 @@ "components/interfaces/TableGridEditor/SidePanelEditor/ActionBar.tsx": 1, "components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnDefaultValue.tsx": 2, "components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx": 6, - "components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.utils.ts": 2, "components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx": 1, "components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx": 2, "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/ForeignRowSelector.tsx": 1, @@ -491,7 +490,7 @@ "components/interfaces/TableGridEditor/SidePanelEditor/SchemaEditor.tsx": 2, "components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx": 14, "components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.types.ts": 1, - "components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx": 15, + "components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx": 14, "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx": 3, "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetTextInput.tsx": 1, "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.tsx": 4, @@ -499,10 +498,7 @@ "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.utils.tsx": 18, "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx": 2, "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetPreviewGrid.tsx": 2, - "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx": 3, - "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx": 3, "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ForeignKeysManagement/ForeignKeyRow.tsx": 1, - "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx": 2, "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.types.ts": 1, "components/interfaces/TableGridEditor/TableDefinition.tsx": 3, "components/interfaces/TableGridEditor/TableEntity.utils.ts": 1, @@ -536,7 +532,7 @@ "components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx": 2, "components/layouts/SQLEditorLayout/SQLEditorNavV2/SearchList.tsx": 1, "components/layouts/TableEditorLayout/EntityListItem.tsx": 1, - "components/layouts/TableEditorLayout/TableEditorMenu.tsx": 2, + "components/layouts/TableEditorLayout/TableEditorMenu.tsx": 1, "components/layouts/Tabs/NewTab.tsx": 1, "components/to-be-cleaned/KeyMap.tsx": 3, "components/ui/AIAssistantPanel/AIAssistant.utils.ts": 1, @@ -571,7 +567,7 @@ "components/ui/DatePicker/index.tsx": 2, "components/ui/DateRangePicker.tsx": 1, "components/ui/DebouncedComponent.tsx": 1, - "components/ui/DownloadResultsButton.tsx": 2, + "components/ui/DownloadResultsButton.tsx": 1, "components/ui/Error.tsx": 1, "components/ui/ErrorBoundary/ErrorBoundary.tsx": 2, "components/ui/ErrorBoundary/GlobalErrorBoundaryState.tsx": 1, @@ -696,7 +692,6 @@ "pages/api/ai/feedback/rate.ts": 2, "pages/api/check-cname.ts": 1, "pages/api/edge-functions/test.ts": 1, - "pages/api/integrations/stripe-sync.ts": 1, "pages/api/platform/auth/[ref]/users/[id]/factors.ts": 1, "pages/api/platform/database/[ref]/pooling.ts": 1, "pages/api/platform/integrations/github/authorization.ts": 1, @@ -968,8 +963,6 @@ "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetImportConfiguration.tsx": 1, "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetTextInput.tsx": 1, "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetPreviewGrid.tsx": 1, - "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx": 1, - "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx": 1, "components/interfaces/TableGridEditor/ViewEntityAutofixSecurityModal.tsx": 1, "components/layouts/APIAuthorizationLayout.tsx": 1, "components/layouts/APIKeys/APIKeysLayout.tsx": 1, @@ -987,7 +980,6 @@ "components/layouts/JWTKeys/JWTKeysLayout.tsx": 1, "components/layouts/LinkAwsMarketplaceLayout.tsx": 1, "components/layouts/LogsLayout/LogsLayout.tsx": 1, - "components/layouts/Navigation/FloatingMobileToolbar/FloatingMobileToolbar.tsx": 1, "components/layouts/Navigation/NavigationBar/MobileNavigationBar.tsx": 1, "components/layouts/Navigation/NavigationBar/MobileViewNav.tsx": 1, "components/layouts/Navigation/NavigationBar/NavigationIconLink.tsx": 1, @@ -999,11 +991,9 @@ "components/layouts/ProjectLayout/ConnectingState.tsx": 1, "components/layouts/ProjectLayout/OrganizationSettingsLayout.tsx": 1, "components/layouts/ProjectLayout/RestartingState.tsx": 1, - "components/layouts/ProjectLayout/RestoringState.tsx": 1, "components/layouts/ProjectSettingsLayout/SettingsLayout.tsx": 1, "components/layouts/RealtimeLayout/RealtimeLayout.tsx": 1, "components/layouts/RedeemCreditsLayout.tsx": 1, - "components/layouts/ReportsLayout/ReportsLayout.tsx": 1, "components/layouts/ReportsLayout/ReportsMenu.tsx": 1, "components/layouts/SQLEditorLayout/SQLEditorLayout.tsx": 1, "components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorLoadingSnippets.tsx": 1,