The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
[bot] Decrease ESLint ratchet baselines (#48062)
supabase-supabase-autofixer[bot]64879ba4f2f3
diff --git a/apps/studio/.github/eslint-rule-baselines.json b/apps/studio/.github/eslint-rule-baselines.jsonindex f958116f061..c9717ecb62b 100644--- a/apps/studio/.github/eslint-rule-baselines.json+++ b/apps/studio/.github/eslint-rule-baselines.json@@ -1,9 +1,9 @@{"rules": {- "react-hooks/exhaustive-deps": 161,+ "react-hooks/exhaustive-deps": 160,"import/no-anonymous-default-export": 57,"@tanstack/query/exhaustive-deps": 9,- "@typescript-eslint/no-explicit-any": 887,+ "@typescript-eslint/no-explicit-any": 875,"no-restricted-imports": 0,"no-restricted-exports": 193,"react/no-unstable-nested-components": 36,@@ -11,7 +11,7 @@"jsx-a11y/aria-proptypes": 0,"jsx-a11y/role-supports-aria-props": 0,"jsx-a11y/anchor-has-content": 0,- "jsx-a11y/control-has-associated-label": 260,+ "jsx-a11y/control-has-associated-label": 249,"jsx-a11y/label-has-associated-control": 36,"jsx-a11y/aria-role": 0,"jsx-a11y/no-redundant-roles": 4,@@ -47,6 +47,7 @@"components/interfaces/Billing/Payment/PaymentConfirmation.tsx": 1,"components/interfaces/Billing/Payment/PaymentMethods/NewPaymentMethodElement.tsx": 1,"components/interfaces/ConnectSheet/content/steps/mcp/cursor/content.tsx": 1,+ "components/interfaces/ConnectSheet/useConnectServerEnv.ts": 1,"components/interfaces/Database/Backups/PITR/TimeInput.tsx": 4,"components/interfaces/Database/Indexes/Indexes.tsx": 2,"components/interfaces/Database/Policies/PolicyEditorPanel/PolicyDetailsV2.tsx": 1,@@ -74,7 +75,8 @@"components/interfaces/SQLEditor/InlineWidget.tsx": 2,"components/interfaces/SQLEditor/MoveQueryModal.tsx": 1,"components/interfaces/SQLEditor/OngoingQueriesPanel.tsx": 1,- "components/interfaces/SQLEditor/SQLEditor.tsx": 2,+ "components/interfaces/SQLEditor/useSnippetIdentity.ts": 1,+ "components/interfaces/SQLEditor/useSnippetTitleGenerator.ts": 1,"components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx": 1,"components/interfaces/Settings/Addons/IPv4SidePanel.tsx": 1,"components/interfaces/Settings/Addons/PITRSidePanel.tsx": 1,@@ -102,7 +104,7 @@"components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx": 2,"components/layouts/SignInLayout/SignInLayout.tsx": 1,"components/layouts/Tabs/Tabs.utils.ts": 2,- "components/ui/Charts/ChartHighlightActions.tsx": 2,+ "components/ui/Charts/ChartHighlightActions.tsx": 1,"components/ui/Charts/Charts.utils.tsx": 7,"components/ui/Charts/ComposedChartHandler.tsx": 1,"components/ui/CodeEditor/CodeEditor.tsx": 1,@@ -111,7 +113,7 @@"components/ui/DataTable/DataTableSideBarLayout.tsx": 4,"components/ui/DataTable/DataTableViewOptions.tsx": 1,"components/ui/DataTable/LiveButton.tsx": 1,- "components/ui/DataTable/TimelineChart.tsx": 1,+ "components/ui/DataTable/TimelineChart.tsx": 2,"components/ui/DatePicker/TimeSplitInput.tsx": 1,"components/ui/DateRangePicker.tsx": 1,"components/ui/FilterPopover.tsx": 1,@@ -130,8 +132,6 @@"hooks/misc/useUpgradePrompt.tsx": 1,"lib/telemetry/track.ts": 1,"pages/forgot-password-mfa.tsx": 1,- "pages/integrations/vercel/[slug]/deploy-button/new-project.tsx": 1,- "pages/integrations/vercel/install.tsx": 1,"pages/logout.tsx": 1,"pages/new/index.tsx": 1,"pages/organizations.tsx": 1,@@ -234,7 +234,7 @@"components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.types.ts": 1,"components/interfaces/Auth/AuthProvidersForm/FormField.tsx": 1,"components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx": 4,- "components/interfaces/Auth/AuthProvidersForm/index.tsx": 7,+ "components/interfaces/Auth/AuthProvidersForm/index.tsx": 2,"components/interfaces/Auth/AuthProvidersFormValidation.tsx": 2,"components/interfaces/Auth/BasicAuthSettingsForm.tsx": 1,"components/interfaces/Auth/Overview/OverviewTable.tsx": 1,@@ -247,7 +247,6 @@"components/interfaces/Auth/SmtpForm/SmtpForm.tsx": 2,"components/interfaces/Auth/Users/UserLogs.tsx": 1,"components/interfaces/Auth/Users/UserPanel.tsx": 1,- "components/interfaces/Auth/Users/Users.utils.tsx": 5,"components/interfaces/Auth/Users/UsersGridComponents.tsx": 2,"components/interfaces/Auth/Users/UsersV2.tsx": 6,"components/interfaces/Billing/Payment/AddNewPaymentMethodModal.tsx": 3,@@ -344,7 +343,6 @@"components/interfaces/RoleImpersonationSelector/UserImpersonationSelector.tsx": 1,"components/interfaces/SQLEditor/MoveQueryModal.tsx": 2,"components/interfaces/SQLEditor/RenameQueryModal.tsx": 2,- "components/interfaces/SQLEditor/SQLEditor.tsx": 4,"components/interfaces/SQLEditor/SQLEditor.utils.ts": 1,"components/interfaces/SQLEditor/SQLTemplates/SQLExamples.tsx": 1,"components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx": 1,@@ -354,6 +352,8 @@"components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx": 1,"components/interfaces/SQLEditor/hooks.ts": 1,"components/interfaces/SQLEditor/useAddDefinitions.ts": 1,+ "components/interfaces/SQLEditor/useSqlEditorAi.ts": 3,+ "components/interfaces/SQLEditor/useSqlEditorExecution.ts": 1,"components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsx": 1,"components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.utils.ts": 2,"components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx": 1,@@ -434,7 +434,6 @@"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": 1,"components/ui/AIAssistantPanel/AIAssistant.utils.ts": 1,"components/ui/AIAssistantPanel/DisplayBlockRenderer.tsx": 1,"components/ui/AIAssistantPanel/MessageMarkdown.tsx": 1,@@ -579,7 +578,6 @@"pages/api/platform/projects/[ref]/content/count.ts": 1,"pages/api/platform/projects/[ref]/content/index.ts": 1,"pages/api/platform/projects/[ref]/databases.ts": 1,- "pages/integrations/vercel/[slug]/deploy-button/new-project.tsx": 1,"pages/project/[ref]/functions/[functionSlug]/index.tsx": 3,"pages/project/[ref]/settings/log-drains.tsx": 1,"state/ai-assistant-state.tsx": 4,@@ -832,7 +830,6 @@"components/interfaces/Account/AccessTokens/AccessTokenList.tsx": 1,"components/interfaces/Account/AccessTokens/AccessTokenNewBanner/AccessTokenNewBanner.tsx": 1,"components/interfaces/Account/AccessTokens/Classic/NewTokenButton.tsx": 1,- "components/interfaces/Account/AccessTokens/Scoped/Form/Permissions/Permissions.tsx": 1,"components/interfaces/Account/AccessTokens/Scoped/Form/ResourceAccess/ResourceOption.tsx": 1,"components/interfaces/Account/AccessTokens/Scoped/ScopedTokenList.tsx": 1,"components/interfaces/Account/Preferences/AnalyticsSettings.tsx": 1,@@ -876,7 +873,6 @@"components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AnalyticsBucket/Fields.tsx": 2,"components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DuckLake/Fields.tsx": 2,"components/interfaces/Database/Replication/DestinationPanel/DestinationForm/Snowflake/Fields.tsx": 1,- "components/interfaces/Database/Replication/Destinations.tsx": 2,"components/interfaces/Database/Replication/ReadReplicas/ReadReplicaRow.tsx": 1,"components/interfaces/Database/Replication/ReplicationPipelineStatus/ReplicationPipelineStatus.tsx": 1,"components/interfaces/Database/Replication/RowMenu.tsx": 1,@@ -933,7 +929,6 @@"components/interfaces/QueryInsights/QueryInsightsTable/QueryInsightsTable.tsx": 1,"components/interfaces/QueryInsights/hooks/useQueryInsightsTableColumns.tsx": 2,"components/interfaces/QueryPerformance/QueryPerformanceGrid.tsx": 1,- "components/interfaces/QueryPerformance/WithStatements/WithStatements.tsx": 2,"components/interfaces/QueryPerformance/components/FilterInput.tsx": 1,"components/interfaces/Realtime/Inspector/ChooseChannelPopover.tsx": 1,"components/interfaces/Realtime/Inspector/RealtimeFilterPopover/index.tsx": 3,@@ -952,7 +947,6 @@"components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessConfiguration.tsx": 1,"components/interfaces/Settings/Database/SSLConfiguration.tsx": 1,"components/interfaces/Settings/General/ComplianceConfig/ProjectComplianceMode.tsx": 1,- "components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectModal.tsx": 1,"components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.tsx": 3,"components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx": 2,"components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/MapView.tsx": 1,@@ -999,7 +993,6 @@"components/layouts/ProjectLayout/PauseFailedState.tsx": 1,"components/layouts/ProjectLayout/RestoreFailedState.tsx": 1,"components/layouts/TableEditorLayout/EntityListItem.tsx": 1,- "components/ui/AIAssistantPanel/AIAssistantChatSelector.tsx": 4,"components/ui/AIAssistantPanel/CollapsibleCodeBlock.tsx": 1,"components/ui/AdvisorPanel/AdvisorPanelBody.tsx": 1,"components/ui/AdvisorPanel/AdvisorSignalDetail.tsx": 1,@@ -1011,7 +1004,6 @@"components/ui/Resource/ResourceItem.tsx": 1,"pages/project/[ref]/auth/templates/[templateId].tsx": 1,"pages/project/[ref]/branches/merge-requests.tsx": 1,- "pages/project/[ref]/database/policies.tsx": 1,"pages/project/[ref]/functions/index.tsx": 1,"pages/project/[ref]/observability/auth.tsx": 1,"pages/project/[ref]/observability/database.tsx": 1,