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 (#41141)
github-actions[bot]18d2e041c395
diff --git a/apps/studio/.github/eslint-rule-baselines.json b/apps/studio/.github/eslint-rule-baselines.jsonindex d08e1fa7fae..30527bc7398 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": 219,- "import/no-anonymous-default-export": 62,- "@tanstack/query/exhaustive-deps": 18,- "@typescript-eslint/no-explicit-any": 1316+ "react-hooks/exhaustive-deps": 216,+ "import/no-anonymous-default-export": 57,+ "@tanstack/query/exhaustive-deps": 14,+ "@typescript-eslint/no-explicit-any": 1294},"ruleFiles": {"react-hooks/exhaustive-deps": {@@ -20,7 +20,6 @@"components/interfaces/Auth/AuthProvidersForm/FormField.tsx": 2,"components/interfaces/Auth/BasicAuthSettingsForm.tsx": 1,"components/interfaces/Auth/MfaAuthSettingsForm/MfaAuthSettingsForm.tsx": 1,- "components/interfaces/Auth/OAuthApps/OAuthAppsList.tsx": 1,"components/interfaces/Auth/OAuthApps/OAuthServerSettingsForm.tsx": 1,"components/interfaces/Auth/PerformanceSettingsForm.tsx": 1,"components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsx": 1,@@ -44,7 +43,6 @@"components/interfaces/Database/Backups/PITR/TimeInput.tsx": 4,"components/interfaces/Database/EnumeratedTypes/CreateEnumeratedTypeSidePanel.tsx": 1,"components/interfaces/Database/Extensions/EnableExtensionModal.tsx": 1,- "components/interfaces/Database/Functions/CreateFunction/index.tsx": 1,"components/interfaces/Database/Indexes/Indexes.tsx": 2,"components/interfaces/Database/Schemas/SchemaGraph.tsx": 1,"components/interfaces/DiskManagement/DiskManagementForm.tsx": 1,@@ -54,7 +52,6 @@"components/interfaces/Integrations/Queues/QueuesSettings.tsx": 1,"components/interfaces/Integrations/Queues/SingleQueue/QueueSettings.tsx": 1,"components/interfaces/Integrations/Queues/SingleQueue/SendMessageModal.tsx": 1,- "components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsx": 1,"components/interfaces/Integrations/Wrappers/WrapperDynamicColumns.tsx": 1,"components/interfaces/Integrations/templates/StripeSyncEngine/InstallationOverview.tsx": 1,"components/interfaces/Organization/BillingSettings/BillingCustomerData/useBillingCustomerDataForm.ts": 1,@@ -92,6 +89,7 @@"components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.tsx": 1,"components/interfaces/Settings/Logs/LogTable.tsx": 2,"components/interfaces/Settings/Logs/LogsPreviewer.tsx": 2,+ "components/interfaces/Settings/Logs/LogsQueryPanel.tsx": 1,"components/interfaces/Settings/Logs/PreviewFilterPanel.tsx": 1,"components/interfaces/SignIn/SignInPartner.tsx": 1,"components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CopyEnvButton.tsx": 1,@@ -158,7 +156,6 @@"pages/project/[ref]/building.tsx": 1,"pages/project/[ref]/editor/[id].tsx": 1,"pages/project/[ref]/integrations/index.tsx": 1,- "pages/project/[ref]/logs/explorer/index.tsx": 1,"pages/project/[ref]/settings/jwt/legacy.tsx": 1,"pages/project/[ref]/sql/quickstarts.tsx": 1,"pages/project/[ref]/sql/templates.tsx": 1,@@ -204,11 +201,6 @@"pages/api/platform/projects/[ref]/billing/addons.ts": 1,"pages/api/platform/projects/[ref]/config/index.ts": 1,"pages/api/platform/projects/[ref]/config/postgrest.ts": 1,- "pages/api/platform/projects/[ref]/content/count.ts": 1,- "pages/api/platform/projects/[ref]/content/folders/[id].ts": 1,- "pages/api/platform/projects/[ref]/content/folders/index.ts": 1,- "pages/api/platform/projects/[ref]/content/index.ts": 1,- "pages/api/platform/projects/[ref]/content/item/[id].ts": 1,"pages/api/platform/projects/[ref]/databases.ts": 1,"pages/api/platform/projects/[ref]/index.ts": 1,"pages/api/platform/projects/[ref]/infra-monitoring.ts": 1,@@ -244,8 +236,6 @@"data/table-rows/table-rows-query.ts": 1,"data/tables/tables-query.ts": 2,"hooks/analytics/useDbQuery.tsx": 1,- "hooks/analytics/useLogsPreview.tsx": 3,- "hooks/analytics/useProjectUsageStats.tsx": 1,"hooks/analytics/useSingleLog.tsx": 1},"@typescript-eslint/no-explicit-any": {@@ -277,7 +267,7 @@"components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.types.ts": 1,"components/interfaces/Auth/AuthProvidersForm/FormField.tsx": 4,"components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx": 6,- "components/interfaces/Auth/AuthProvidersForm/index.tsx": 5,+ "components/interfaces/Auth/AuthProvidersForm/index.tsx": 7,"components/interfaces/Auth/AuthProvidersFormValidation.tsx": 2,"components/interfaces/Auth/BasicAuthSettingsForm.tsx": 1,"components/interfaces/Auth/EmailTemplates/EmailTemplates.tsx": 1,@@ -333,7 +323,6 @@"components/interfaces/Database/Publications/PublicationsTableItem.tsx": 5,"components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationsComboBox.tsx": 1,"components/interfaces/Database/Replication/ReplicationPipelineStatus/ReplicationPipelineStatus.utils.tsx": 1,- "components/interfaces/Database/Replication/RetryOptionsDropdown.tsx": 1,"components/interfaces/Database/Replication/RowMenu.tsx": 2,"components/interfaces/Database/Replication/UpdateVersionModal.tsx": 2,"components/interfaces/Database/RestoreToNewProject/RestoreToNewProject.tsx": 1,@@ -348,12 +337,10 @@"components/interfaces/Docs/ResourceContent.tsx": 1,"components/interfaces/Docs/RpcContent.tsx": 4,"components/interfaces/Docs/Snippets.ts": 1,- "components/interfaces/ExplainVisualizer/ExplainVisualizer.utils.ts": 1,"components/interfaces/Functions/CommandRender.tsx": 4,"components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx": 1,"components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.utils.tsx": 3,"components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionTesterSheet.tsx": 1,- "components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx": 1,"components/interfaces/Functions/EdgeFunctionsListItem.tsx": 2,"components/interfaces/Functions/FunctionsNav.tsx": 1,"components/interfaces/Home/Home.tsx": 6,@@ -376,7 +363,6 @@"components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx": 1,"components/interfaces/Integrations/Wrappers/CreateIcebergWrapperSheet.tsx": 3,"components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx": 6,- "components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsx": 7,"components/interfaces/Integrations/Wrappers/InputField.tsx": 1,"components/interfaces/Integrations/Wrappers/WrapperDynamicColumns.tsx": 1,"components/interfaces/Integrations/Wrappers/WrapperTableEditor.tsx": 7,@@ -394,8 +380,6 @@"components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx": 1,"components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx": 6,"components/interfaces/Organization/BillingSettings/Subscription/UpgradeModal.tsx": 3,- "components/interfaces/Organization/Documents/SOC2.tsx": 1,- "components/interfaces/Organization/Documents/SecurityQuestionnaire.tsx": 1,"components/interfaces/Organization/GeneralSettings/DeleteOrganizationButton.tsx": 3,"components/interfaces/Organization/IntegrationSettings/IntegrationSettings.tsx": 1,"components/interfaces/Organization/IntegrationSettings/SidePanelVercelProjectLinker.tsx": 1,@@ -413,7 +397,6 @@"components/interfaces/ProjectAPIDocs/Content/RPC.tsx": 1,"components/interfaces/ProjectAPIDocs/ProjectAPIDocs.constants.ts": 2,"components/interfaces/ProjectAPIDocs/ResourceContent.tsx": 1,- "components/interfaces/ProjectCreation/DatabasePasswordInput.tsx": 1,"components/interfaces/ProjectCreation/PostgresVersionSelector.tsx": 2,"components/interfaces/ProjectCreation/SchemaGenerator.tsx": 1,"components/interfaces/QueryPerformance/IndexAdvisor/EnableIndexAdvisorButton.tsx": 1,@@ -466,7 +449,6 @@"components/interfaces/Settings/General/TransferProjectPanel/TransferProjectButton.tsx": 1,"components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx": 1,"components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx": 1,- "components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/RestartReplicaConfirmationModal.tsx": 1,"components/interfaces/Settings/Integrations/AWSPrivateLink/AWSPrivateLinkSection.tsx": 3,"components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsx": 1,"components/interfaces/Settings/Logs/LogTable.tsx": 3,@@ -623,7 +605,6 @@"components/ui/FilterPopover.tsx": 1,"components/ui/Forms/Form.constants.ts": 1,"components/ui/Logs/LogsExplorerHeader.tsx": 2,- "components/ui/PasswordStrengthBar.tsx": 4,"components/ui/ProductMenu/ProductMenu.types.ts": 1,"components/ui/ProjectSettings/DisplayApiSettings.tsx": 1,"components/ui/QueryBlock/QueryBlock.tsx": 4,@@ -692,8 +673,7 @@"data/projects/project-create-mutation.ts": 1,"data/projects/project-detail-query.ts": 2,"data/replication/restart-pipeline-helper.ts": 2,- "data/replication/rollback-table-mutation.ts": 1,- "data/replication/use-table-reset.ts": 1,+ "data/replication/rollback-tables-mutation.ts": 2,"data/reports/database-charts.ts": 5,"data/reports/v2/auth.config.ts": 16,"data/reports/v2/edge-functions.config.ts": 9,@@ -714,7 +694,6 @@"data/table-rows/table-row-update-mutation.ts": 2,"data/table-rows/table-rows-query.ts": 5,"data/tables/tables-query.ts": 1,- "data/vault/vault-secret-decrypted-value-query.ts": 2,"data/views/views-query.ts": 1,"hooks/analytics/useDbQuery.tsx": 1,"hooks/analytics/useFillTimeseriesSorted.ts": 3,@@ -730,6 +709,7 @@"hooks/ui/useHotKey.ts": 1,"hooks/useStaticEffectEvent.ts": 1,"instrumentation-client.ts": 5,+ "lib/ai/generate-assistant-response.ts": 2,"lib/ai/model.ts": 2,"lib/ai/model.utils.ts": 4,"lib/ai/test-fixtures.ts": 1,@@ -747,7 +727,6 @@"pages/_app.tsx": 1,"pages/account/tokens.tsx": 1,"pages/api/ai/feedback/rate.ts": 2,- "pages/api/ai/sql/generate-v4.ts": 3,"pages/api/check-cname.ts": 1,"pages/api/edge-functions/test.ts": 1,"pages/api/integrations/stripe-sync.ts": 1,@@ -755,8 +734,8 @@"pages/api/platform/database/[ref]/pooling.ts": 1,"pages/api/platform/integrations/github/authorization.ts": 1,"pages/api/platform/projects/[ref]/analytics/log-drains.ts": 1,+ "pages/api/platform/projects/[ref]/content/count.ts": 1,"pages/api/platform/projects/[ref]/content/index.ts": 1,- "pages/api/platform/projects/[ref]/content/item/[id].ts": 1,"pages/api/platform/projects/[ref]/databases.ts": 1,"pages/cli/login.tsx": 1,"pages/integrations/vercel/[slug]/deploy-button/new-project.tsx": 1,@@ -765,7 +744,6 @@"pages/project/[ref]/api/index.tsx": 3,"pages/project/[ref]/auth/templates/[templateId].tsx": 1,"pages/project/[ref]/functions/[functionSlug]/index.tsx": 3,- "pages/project/[ref]/logs/explorer/index.tsx": 3,"pages/project/[ref]/merge.tsx": 1,"pages/project/[ref]/settings/log-drains.tsx": 1,"pages/project/[ref]/storage/files/buckets/[bucketId].tsx": 1,