Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

[bot] Decrease ESLint ratchet baselines (#46301)

supabase-supabase-autofixer[bot]5637d51d787e
diff --git a/apps/studio/.github/eslint-rule-baselines.json b/apps/studio/.github/eslint-rule-baselines.json
index b7d455fd9ec..5d73ab0d01b 100644
--- a/apps/studio/.github/eslint-rule-baselines.json
+++ b/apps/studio/.github/eslint-rule-baselines.json
@@ -3,10 +3,10 @@
"react-hooks/exhaustive-deps": 175,
"import/no-anonymous-default-export": 57,
"@tanstack/query/exhaustive-deps": 12,
- "@typescript-eslint/no-explicit-any": 990,
+ "@typescript-eslint/no-explicit-any": 983,
"no-restricted-imports": 0,
- "no-restricted-exports": 251,
- "react/no-unstable-nested-components": 51
+ "no-restricted-exports": 240,
+ "react/no-unstable-nested-components": 47
},
"ruleFiles": {
"react-hooks/exhaustive-deps": {
@@ -226,8 +226,8 @@
"components/grid/types/table.ts": 1,
"components/grid/utils/column.ts": 2,
"components/grid/utils/gridColumns.tsx": 10,
+ "components/interfaces/APIKeys/CreateNewAPIKeysButton.tsx": 2,
"components/interfaces/Account/AccessTokens/Scoped/Form/ResourceAccess/ResourceAccess.types.ts": 2,
- "components/interfaces/App/UpdateBillingAddressModal.tsx": 2,
"components/interfaces/Auth/AuditLogsForm.tsx": 1,
"components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.types.ts": 1,
"components/interfaces/Auth/AuthProvidersForm/FormField.tsx": 1,
@@ -236,7 +236,6 @@
"components/interfaces/Auth/AuthProvidersFormValidation.tsx": 2,
"components/interfaces/Auth/BasicAuthSettingsForm.tsx": 1,
"components/interfaces/Auth/EmailTemplates/EmailTemplates.tsx": 1,
- "components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx": 1,
"components/interfaces/Auth/Overview/OverviewTable.tsx": 1,
"components/interfaces/Auth/Overview/OverviewUsage.constants.ts": 1,
"components/interfaces/Auth/PerformanceSettingsForm.tsx": 2,
@@ -274,6 +273,7 @@
"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,
"components/interfaces/Docs/Description.tsx": 2,
@@ -405,7 +405,7 @@
"components/interfaces/Storage/StorageExplorer/StorageExplorer.tsx": 1,
"components/interfaces/Storage/StorageExplorer/StorageExplorer.utils.tsx": 2,
"components/interfaces/Storage/StoragePolicies/StoragePolicies.tsx": 5,
- "components/interfaces/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.tsx": 11,
+ "components/interfaces/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.tsx": 10,
"components/interfaces/Storage/StoragePolicies/StoragePoliciesEditor.tsx": 2,
"components/interfaces/Storage/StoragePolicies/StoragePoliciesReview.tsx": 3,
"components/interfaces/Storage/VectorBuckets/CreateVectorBucketDialog.tsx": 2,
@@ -427,7 +427,6 @@
"components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.types.ts": 1,
"components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts": 9,
"components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/TextEditor.tsx": 2,
- "components/interfaces/TableGridEditor/SidePanelEditor/SchemaEditor.tsx": 2,
"components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx": 13,
"components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.types.ts": 1,
"components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx": 2,
@@ -455,7 +454,7 @@
"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": 3,
+ "components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorNav.tsx": 1,
"components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorNav.utils.ts": 2,
"components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx": 2,
"components/layouts/SQLEditorLayout/SQLEditorNavV2/SearchList.tsx": 1,
@@ -472,8 +471,8 @@
"components/ui/Charts/ChartHandler.tsx": 4,
"components/ui/Charts/ChartHeader.tsx": 5,
"components/ui/Charts/Charts.utils.tsx": 3,
- "components/ui/Charts/ComposedChart.tsx": 7,
- "components/ui/Charts/ComposedChart.utils.tsx": 13,
+ "components/ui/Charts/ComposedChart.tsx": 8,
+ "components/ui/Charts/ComposedChart.utils.tsx": 14,
"components/ui/Charts/ComposedChartHandler.tsx": 9,
"components/ui/Charts/StackedBarChart.tsx": 3,
"components/ui/CodeEditor/CodeEditor.tsx": 7,
@@ -482,8 +481,6 @@
"components/ui/CodeEditor/Providers/PgSQLCompletionProvider.ts": 21,
"components/ui/CodeEditor/Providers/PgSQLSignatureHelpProvider.ts": 4,
"components/ui/DataTable/DataTable.utils.ts": 8,
- "components/ui/DataTable/DataTableFilters/DataTableFilterCommand.tsx": 1,
- "components/ui/DataTable/DataTableFilters/DataTableFilters.utils.ts": 1,
"components/ui/DataTable/DataTableInfinite.tsx": 5,
"components/ui/DataTable/DataTableViewOptions.tsx": 1,
"components/ui/DataTable/LiveButton.tsx": 1,
@@ -498,7 +495,6 @@
"components/ui/ErrorBoundary/GlobalErrorBoundaryState.tsx": 1,
"components/ui/FilterPopover.tsx": 1,
"components/ui/Forms/Form.constants.ts": 1,
- "components/ui/Logs/LogsExplorerHeader.tsx": 2,
"components/ui/ProductMenu/ProductMenu.types.ts": 1,
"components/ui/ProjectSettings/DisplayApiSettings.tsx": 1,
"components/ui/QueryBlock/QueryBlock.tsx": 4,
@@ -605,7 +601,7 @@
"lib/api/apiHelpers.ts": 2,
"lib/api/self-hosted/logs.ts": 2,
"lib/gotrue.ts": 1,
- "lib/helpers.ts": 11,
+ "lib/helpers.ts": 12,
"lib/integration-utils.ts": 2,
"lib/password-strength.ts": 1,
"lib/pg-format.ts": 6,
@@ -637,7 +633,6 @@
"tests/lib/custom-render.tsx": 1,
"tests/setup/polyfills.ts": 3,
"tests/vitestSetup.ts": 1,
- "types/form.ts": 1,
"types/next.ts": 2,
"types/ui.ts": 2
},
@@ -701,6 +696,7 @@
"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,
"components/interfaces/Integrations/Vercel/OrganizationPicker.tsx": 1,
"components/interfaces/Integrations/VercelGithub/ProjectLinker.tsx": 1,
"components/interfaces/Integrations/Wrappers/InputField.tsx": 1,
@@ -718,12 +714,6 @@
"components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx": 1,
"components/interfaces/Organization/BillingSettings/Subscription/UpgradeModal.tsx": 1,
"components/interfaces/Organization/CloudMarketplace/AwsMarketplaceAutoRenewalWarning.tsx": 1,
- "components/interfaces/Organization/CloudMarketplace/AwsMarketplaceContractNotLinkable.tsx": 1,
- "components/interfaces/Organization/CloudMarketplace/AwsMarketplaceCreateNewOrg.tsx": 1,
- "components/interfaces/Organization/CloudMarketplace/AwsMarketplaceOnboardingPlaceholder.tsx": 1,
- "components/interfaces/Organization/CloudMarketplace/AwsMarketplaceOnboardingSuccessModal.tsx": 1,
- "components/interfaces/Organization/CloudMarketplace/NewAwsMarketplaceOrgForm.tsx": 1,
- "components/interfaces/Organization/CloudMarketplace/NewAwsMarketplaceOrgModal.tsx": 1,
"components/interfaces/Organization/IntegrationSettings/SidePanelVercelProjectLinker.tsx": 1,
"components/interfaces/Organization/InvoicesSettings/InvoicePayButton.tsx": 1,
"components/interfaces/Organization/TeamSettings/MembersView.tsx": 1,
@@ -751,10 +741,8 @@
"components/interfaces/Reports/ReportStickyNav.tsx": 1,
"components/interfaces/Reports/ReportWidget.tsx": 1,
"components/interfaces/Reports/Reports.tsx": 1,
- "components/interfaces/SQLEditor/DownloadSnippetModal.tsx": 1,
"components/interfaces/SQLEditor/InlineWidget.tsx": 1,
"components/interfaces/SQLEditor/MonacoEditor.tsx": 1,
- "components/interfaces/SQLEditor/RenameQueryModal.tsx": 1,
"components/interfaces/SQLEditor/SQLTemplates/SQLExamples.tsx": 1,
"components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx": 1,
"components/interfaces/SQLEditor/UtilityPanel/ReadOnlyBadge.tsx": 1,
@@ -824,7 +812,6 @@
"components/layouts/IntegrationsLayout/IntegrationWindowLayout.tsx": 1,
"components/layouts/IntegrationsLayout/VercelIntegrationWindowLayout.tsx": 1,
"components/layouts/JWTKeys/JWTKeysLayout.tsx": 1,
- "components/layouts/LinkAwsMarketplaceLayout.tsx": 1,
"components/layouts/LogsLayout/LogsLayout.tsx": 1,
"components/layouts/Navigation/NavigationBar/MobileNavigationBar.tsx": 1,
"components/layouts/Navigation/NavigationBar/MobileViewNav.tsx": 1,
@@ -838,14 +825,11 @@
"components/layouts/ProjectLayout/RestartingState.tsx": 1,
"components/layouts/ProjectSettingsLayout/SettingsLayout.tsx": 1,
"components/layouts/RealtimeLayout/RealtimeLayout.tsx": 1,
- "components/layouts/RedeemCreditsLayout.tsx": 1,
"components/layouts/ReportsLayout/ReportsMenu.tsx": 1,
"components/layouts/SQLEditorLayout/SQLEditorLayout.tsx": 1,
- "components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorLoadingSnippets.tsx": 1,
"components/layouts/SignInLayout/ForgotPasswordLayout.tsx": 1,
"components/layouts/SignInLayout/SignInLayout.tsx": 1,
"components/layouts/StorageLayout/StorageLayout.tsx": 1,
- "components/layouts/TableEditorLayout/EditorMenuListSkeleton.tsx": 1,
"components/layouts/WizardLayout.tsx": 1,
"components/to-be-cleaned/KeyMap.tsx": 1,
"components/to-be-cleaned/ProductEmptyState.tsx": 1,
@@ -911,10 +895,8 @@
"components/interfaces/Organization/Usage/UsageBarChart.tsx": 1,
"components/interfaces/ProjectAPIDocs/FirstLevelNav.tsx": 1,
"components/interfaces/Settings/Logs/LogSelection.tsx": 1,
- "components/interfaces/Settings/Logs/LogTable.tsx": 3,
"components/interfaces/Settings/Logs/LogsFormatters.tsx": 2,
"components/interfaces/Settings/Logs/PreviewFilterPanelWithUniversal.tsx": 1,
- "components/interfaces/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.tsx": 1,
"components/interfaces/UnifiedLogs/components/LogTypeIcon.tsx": 5,
"components/layouts/Navigation/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx": 1,
"components/layouts/Navigation/NavigationBar/NavigationIconLink.tsx": 1,