From 64a7f4e58d197631485d8ebe6d741cfeaa7ee704 Mon Sep 17 00:00:00 2001 From: "supabase-supabase-autofixer[bot]" <248690971+supabase-supabase-autofixer[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 15:51:26 +0000 Subject: [PATCH] [bot] Decrease ESLint ratchet baselines (#47155) Automated weekly decrease of ESLint ratchet baselines. Co-authored-by: github-actions[bot] Co-authored-by: Ali Waseem --- .../studio/.github/eslint-rule-baselines.json | 31 +++++-------------- 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/apps/studio/.github/eslint-rule-baselines.json b/apps/studio/.github/eslint-rule-baselines.json index 060c8bde59c..7074c1000f7 100644 --- a/apps/studio/.github/eslint-rule-baselines.json +++ b/apps/studio/.github/eslint-rule-baselines.json @@ -1,19 +1,18 @@ { "rules": { - "react-hooks/exhaustive-deps": 174, + "react-hooks/exhaustive-deps": 172, "import/no-anonymous-default-export": 57, "@tanstack/query/exhaustive-deps": 9, - "@typescript-eslint/no-explicit-any": 966, + "@typescript-eslint/no-explicit-any": 952, "no-restricted-imports": 0, - "no-restricted-exports": 240, - "react/no-unstable-nested-components": 42 + "no-restricted-exports": 235, + "react/no-unstable-nested-components": 41 }, "ruleFiles": { "react-hooks/exhaustive-deps": { "components/grid/components/common/BlockKeys.tsx": 2, "components/grid/components/editor/JsonEditor.tsx": 2, "components/grid/components/editor/TextEditor.tsx": 2, - "components/grid/hooks/useTableSort.ts": 1, "components/interfaces/Account/TOTPFactors/AddNewFactorModal.tsx": 1, "components/interfaces/Advisors/CreateRuleSheet.tsx": 1, "components/interfaces/App/RouteValidationWrapper.tsx": 2, @@ -36,7 +35,6 @@ "components/interfaces/Billing/Payment/AddNewPaymentMethodModal.tsx": 1, "components/interfaces/Billing/Payment/PaymentConfirmation.tsx": 1, "components/interfaces/Billing/Payment/PaymentMethods/NewPaymentMethodElement.tsx": 1, - "components/interfaces/Connect/DatabaseConnectionString.tsx": 2, "components/interfaces/ConnectSheet/content/steps/mcp/cursor/content.tsx": 1, "components/interfaces/Database/Backups/PITR/TimeInput.tsx": 4, "components/interfaces/Database/Indexes/Indexes.tsx": 2, @@ -132,6 +130,7 @@ "pages/organizations.tsx": 1, "pages/project/[ref]/auth/policies.tsx": 2, "pages/project/[ref]/editor/[id].tsx": 1, + "pages/project/[ref]/integrations/[id]/index.tsx": 1, "pages/project/[ref]/settings/jwt/legacy.tsx": 1, "pages/project/[ref]/sql/examples.tsx": 1, "pages/project/[ref]/sql/templates.tsx": 1, @@ -258,17 +257,14 @@ "components/interfaces/BranchManagement/Branch.Commands.tsx": 1, "components/interfaces/BranchManagement/DatabaseDiffPanel.tsx": 1, "components/interfaces/BranchManagement/ReviewWithAI.tsx": 1, - "components/interfaces/Connect/ConnectTabs.tsx": 1, "components/interfaces/Database/Backups/PITR/PITR.utils.ts": 1, "components/interfaces/Database/Backups/RestoreToNewProject/BackupsList.tsx": 1, "components/interfaces/Database/Functions/CreateFunction/FunctionEditor.tsx": 1, - "components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx": 3, "components/interfaces/Database/Indexes/Indexes.tsx": 1, "components/interfaces/Database/Migrations/Migrations.tsx": 1, "components/interfaces/Database/Privileges/PrivilegesTable.tsx": 1, "components/interfaces/Database/Publications/PublicationsList.tsx": 5, "components/interfaces/Database/Publications/PublicationsTableItem.tsx": 5, - "components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationsComboBox.tsx": 1, "components/interfaces/Database/Replication/DisableExternalReplicationDialog.tsx": 1, "components/interfaces/Database/Replication/ReplicationPipelineStatus/ReplicationPipelineStatus.utils.tsx": 1, "components/interfaces/Database/RestoreToNewProject/RestoreToNewProject.tsx": 1, @@ -284,7 +280,6 @@ "components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionTesterSheet.tsx": 1, "components/interfaces/Functions/FunctionsNav.tsx": 1, "components/interfaces/Home/ProjectList/ProjectList.tsx": 1, - "components/interfaces/Home/ProjectUsage.tsx": 1, "components/interfaces/Home/ServiceStatus.tsx": 1, "components/interfaces/Integrations/CronJobs/CreateCronJobSheet/CreateCronJobSheet.tsx": 1, "components/interfaces/Integrations/CronJobs/CronJobTableCell.tsx": 2, @@ -294,7 +289,6 @@ "components/interfaces/Integrations/Queues/QueuesSettings.tsx": 1, "components/interfaces/Integrations/Queues/SingleQueue/MessageDetailsPanel.tsx": 1, "components/interfaces/Integrations/Queues/SingleQueue/QueueFilters.tsx": 1, - "components/interfaces/Integrations/Queues/SingleQueue/QueueSettings.tsx": 2, "components/interfaces/Integrations/Vault/Secrets/AddNewSecretModal.tsx": 1, "components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx": 1, "components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx": 2, @@ -379,7 +373,6 @@ "components/interfaces/Settings/Logs/PreviewFilterPanelWithUniversal.tsx": 2, "components/interfaces/SignIn/SignInForm.tsx": 1, "components/interfaces/SignIn/SignInWithCustom.tsx": 1, - "components/interfaces/SignIn/SignInWithGitHub.tsx": 1, "components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CreateTable/CreateTableSheet.tsx": 2, "components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/InitializeForeignSchemaDialog.tsx": 1, "components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/TableRowComponent.tsx": 4, @@ -443,7 +436,6 @@ "components/layouts/Navigation/NavigationBar/NavigationIconLink.tsx": 1, "components/layouts/ProjectLayout/BuildingState.tsx": 1, "components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/mobileOrgMenuRegistry.tsx": 2, - "components/layouts/ReportsLayout/ReportsMenu.tsx": 1, "components/layouts/SQLEditorLayout/SQLEditorMenu.tsx": 2, "components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorNav.tsx": 1, "components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorNav.utils.ts": 2, @@ -548,13 +540,12 @@ "data/profile/profile-identities-query.ts": 1, "data/profile/profile-unlink-identity-mutation.ts": 2, "data/projects/project-create-mutation.ts": 1, - "data/projects/project-detail-query.ts": 2, "data/replication/restart-pipeline-helper.ts": 2, "data/replication/rollback-tables-mutation.ts": 1, "data/reports/v2/auth.config.ts": 15, "data/reports/v2/edge-functions.config.ts": 9, "data/reports/v2/reports.types.ts": 2, - "data/sql/execute-sql-query.ts": 5, + "data/sql/execute-sql-mutation.ts": 5, "data/ssl-enforcement/ssl-enforcement-query.ts": 2, "data/ssl-enforcement/ssl-enforcement-update-mutation.ts": 1, "data/sso/sso-config-query.ts": 2, @@ -569,7 +560,6 @@ "data/table-rows/table-row-create-mutation.ts": 1, "data/table-rows/table-row-update-mutation.ts": 2, "data/table-rows/table-rows-query.ts": 5, - "data/tables/tables-query.ts": 1, "data/views/views-query.ts": 1, "hooks/analytics/useDbQuery.tsx": 1, "hooks/analytics/useLogsPreview.tsx": 1, @@ -611,7 +601,6 @@ "pages/api/platform/projects/[ref]/databases.ts": 1, "pages/integrations/vercel/[slug]/deploy-button/new-project.tsx": 1, "pages/integrations/vercel/[slug]/marketplace/choose-project.tsx": 1, - "pages/new/index.tsx": 1, "pages/project/[ref]/functions/[functionSlug]/index.tsx": 3, "pages/project/[ref]/settings/log-drains.tsx": 1, "state/ai-assistant-state.tsx": 4, @@ -664,7 +653,6 @@ "components/interfaces/Database/EnumeratedTypes/EditEnumeratedTypeSidePanel.tsx": 1, "components/interfaces/Database/EnumeratedTypes/EnumeratedTypeValueRow.tsx": 1, "components/interfaces/Database/Extensions/ExtensionCardSkeleton.tsx": 1, - "components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx": 1, "components/interfaces/Database/Migrations/Migrations.tsx": 1, "components/interfaces/Database/Privileges/PrivilegesHead.tsx": 1, "components/interfaces/Database/Privileges/PrivilegesTable.tsx": 1, @@ -683,7 +671,6 @@ "components/interfaces/Functions/EdgeFunctionOverview/EdgeFunctionOverview.tsx": 1, "components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx": 1, "components/interfaces/Functions/FunctionsNav.tsx": 1, - "components/interfaces/Home/ProjectUsage.tsx": 1, "components/interfaces/Integrations/CronJobs/CronJobsEmptyState.tsx": 1, "components/interfaces/Integrations/CronJobs/CronSyntaxChart.tsx": 1, "components/interfaces/Integrations/Integration/LegacyIntegrationPage.tsx": 1, @@ -698,7 +685,6 @@ "components/interfaces/Organization/BillingSettings/CostControl/CostControl.tsx": 1, "components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx": 1, "components/interfaces/Organization/BillingSettings/CreditBalance.tsx": 1, - "components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx": 1, "components/interfaces/Organization/BillingSettings/Subscription/MembersExceedLimitModal.tsx": 1, "components/interfaces/Organization/BillingSettings/Subscription/PaymentMethodSelection.tsx": 1, "components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx": 1, @@ -761,6 +747,7 @@ "components/interfaces/Settings/Logs/LogColumnRenderers/DefaultPreviewColumnRenderer.tsx": 1, "components/interfaces/Settings/Logs/LogColumnRenderers/FunctionsEdgeColumnRender.tsx": 1, "components/interfaces/Settings/Logs/LogColumnRenderers/FunctionsLogsColumnRender.tsx": 1, + "components/interfaces/Settings/Logs/LogColumnRenderers/MultigresColumnRender.tsx": 1, "components/interfaces/Settings/Logs/LogSelection.tsx": 1, "components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsx": 1, "components/interfaces/Settings/Logs/Logs.Divider.tsx": 1, @@ -815,10 +802,7 @@ "components/layouts/ProjectLayout/RestartingState.tsx": 1, "components/layouts/ProjectSettingsLayout/SettingsLayout.tsx": 1, "components/layouts/RealtimeLayout/RealtimeLayout.tsx": 1, - "components/layouts/ReportsLayout/ReportsMenu.tsx": 1, "components/layouts/SQLEditorLayout/SQLEditorLayout.tsx": 1, - "components/layouts/SignInLayout/ForgotPasswordLayout.tsx": 1, - "components/layouts/SignInLayout/SignInLayout.tsx": 1, "components/layouts/StorageLayout/StorageLayout.tsx": 1, "components/layouts/WizardLayout.tsx": 1, "components/to-be-cleaned/KeyMap.tsx": 1, @@ -873,7 +857,6 @@ "components/grid/components/header/filter/FilterPopoverNew.tsx": 1, "components/interfaces/Account/Preferences/ThemeSettings.tsx": 1, "components/interfaces/App/CommandMenu/ContextSearchResults.shared.tsx": 1, - "components/interfaces/Connect/ConnectTabContent.tsx": 1, "components/interfaces/ConnectSheet/ConnectStepsSection.tsx": 1, "components/interfaces/Database/Migrations/MigrationsEmptyState.tsx": 3, "components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx": 1,