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 (#46032)

supabase-supabase-autofixer[bot]330dd79ff488
diff --git a/apps/studio/.github/eslint-rule-baselines.json b/apps/studio/.github/eslint-rule-baselines.json
index 127d2167d25..06b11a9be1a 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": 175,
"import/no-anonymous-default-export": 57,
"@tanstack/query/exhaustive-deps": 12,
- "@typescript-eslint/no-explicit-any": 1014,
+ "@typescript-eslint/no-explicit-any": 990,
"no-restricted-imports": 0,
- "no-restricted-exports": 252,
+ "no-restricted-exports": 251,
"react/no-unstable-nested-components": 51,
"studio/require-safe-sql-fragment": 158
},
@@ -246,7 +246,7 @@
"components/interfaces/Auth/Policies/PolicyEditor/PolicyRoles.tsx": 1,
"components/interfaces/Auth/Policies/PolicyEditor/index.tsx": 2,
"components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyTemplates.tsx": 1,
- "components/interfaces/Auth/Policies/PolicyEditorPanel/RLSCodeEditor.tsx": 2,
+ "components/interfaces/Auth/Policies/PolicyEditorPanel/RLSCodeEditor.tsx": 1,
"components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsx": 2,
"components/interfaces/Auth/ProtectionAuthSettingsForm/ProtectionAuthSettingsForm.tsx": 1,
"components/interfaces/Auth/RedirectUrls/RedirectUrlList.tsx": 1,
@@ -276,8 +276,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/RowMenu.tsx": 2,
- "components/interfaces/Database/Replication/UpdateVersionModal.tsx": 2,
"components/interfaces/Database/RestoreToNewProject/RestoreToNewProject.tsx": 1,
"components/interfaces/Docs/Description.tsx": 2,
"components/interfaces/Docs/GeneratingTypes.tsx": 1,
@@ -384,10 +382,8 @@
"components/interfaces/Settings/Logs/Logs.constants.ts": 1,
"components/interfaces/Settings/Logs/Logs.types.ts": 1,
"components/interfaces/Settings/Logs/Logs.utils.ts": 12,
- "components/interfaces/Settings/Logs/LogsQueryPanel.tsx": 2,
"components/interfaces/Settings/Logs/PreviewFilterPanel.tsx": 1,
"components/interfaces/Settings/Logs/PreviewFilterPanelWithUniversal.tsx": 2,
- "components/interfaces/Settings/Logs/SidebarV2/SidebarItem.tsx": 1,
"components/interfaces/SignIn/SignInForm.tsx": 1,
"components/interfaces/SignIn/SignInWithCustom.tsx": 1,
"components/interfaces/SignIn/SignInWithGitHub.tsx": 1,
@@ -409,7 +405,7 @@
"components/interfaces/Storage/StorageExplorer/MoveItemsModal.tsx": 1,
"components/interfaces/Storage/StorageExplorer/StorageExplorer.tsx": 1,
"components/interfaces/Storage/StorageExplorer/StorageExplorer.utils.tsx": 2,
- "components/interfaces/Storage/StoragePolicies/StoragePolicies.tsx": 8,
+ "components/interfaces/Storage/StoragePolicies/StoragePolicies.tsx": 5,
"components/interfaces/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.tsx": 11,
"components/interfaces/Storage/StoragePolicies/StoragePoliciesEditor.tsx": 2,
"components/interfaces/Storage/StoragePolicies/StoragePoliciesReview.tsx": 3,
@@ -424,7 +420,7 @@
"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,
- "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx": 9,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx": 3,
"components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx": 1,
"components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownViewer.tsx": 3,
"components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/index.tsx": 3,
@@ -469,7 +465,6 @@
"components/to-be-cleaned/KeyMap.tsx": 3,
"components/ui/AIAssistantPanel/AIAssistant.utils.ts": 1,
"components/ui/AIAssistantPanel/DisplayBlockRenderer.tsx": 1,
- "components/ui/AIAssistantPanel/Message.Parts.tsx": 1,
"components/ui/AIAssistantPanel/MessageMarkdown.tsx": 1,
"components/ui/AIEditor/index.tsx": 2,
"components/ui/CardButton.tsx": 2,
@@ -477,13 +472,12 @@
"components/ui/Charts/BarChart.tsx": 1,
"components/ui/Charts/ChartHandler.tsx": 4,
"components/ui/Charts/ChartHeader.tsx": 5,
- "components/ui/Charts/Charts.constants.ts": 1,
"components/ui/Charts/Charts.utils.tsx": 3,
"components/ui/Charts/ComposedChart.tsx": 7,
"components/ui/Charts/ComposedChart.utils.tsx": 13,
"components/ui/Charts/ComposedChartHandler.tsx": 9,
"components/ui/Charts/StackedBarChart.tsx": 3,
- "components/ui/CodeEditor/CodeEditor.tsx": 8,
+ "components/ui/CodeEditor/CodeEditor.tsx": 7,
"components/ui/CodeEditor/CodeEditor.utils.ts": 2,
"components/ui/CodeEditor/Providers/BackwardIterator.ts": 1,
"components/ui/CodeEditor/Providers/PgSQLCompletionProvider.ts": 21,
@@ -491,7 +485,7 @@
"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": 6,
+ "components/ui/DataTable/DataTableInfinite.tsx": 5,
"components/ui/DataTable/DataTableViewOptions.tsx": 1,
"components/ui/DataTable/LiveButton.tsx": 1,
"components/ui/DataTable/providers/DataTableProvider.tsx": 3,
@@ -550,6 +544,7 @@
"data/log-drains/create-log-drain-mutation.ts": 1,
"data/log-drains/update-log-drain-mutation.ts": 1,
"data/logs/get-unified-logs.ts": 1,
+ "data/logs/otel-inspection.utils.ts": 2,
"data/logs/unified-log-inspection-query.ts": 2,
"data/logs/unified-logs-chart-query.ts": 1,
"data/logs/unified-logs-count-query.ts": 1,
@@ -570,7 +565,6 @@
"data/projects/project-detail-query.ts": 2,
"data/replication/restart-pipeline-helper.ts": 2,
"data/replication/rollback-tables-mutation.ts": 1,
- "data/reports/database-charts.ts": 4,
"data/reports/v2/auth.config.ts": 15,
"data/reports/v2/edge-functions.config.ts": 9,
"data/reports/v2/reports.types.ts": 2,
@@ -630,7 +624,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/cli/login.tsx": 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,
@@ -855,7 +848,6 @@
"components/layouts/StorageLayout/StorageLayout.tsx": 1,
"components/layouts/TableEditorLayout/EditorMenuListSkeleton.tsx": 1,
"components/layouts/WizardLayout.tsx": 1,
- "components/to-be-cleaned/AlphaPreview.tsx": 1,
"components/to-be-cleaned/KeyMap.tsx": 1,
"components/to-be-cleaned/ProductEmptyState.tsx": 1,
"components/to-be-cleaned/Table.tsx": 1,